home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997 November / Macworld (1997-11).dmg / Updaters / HyperCard Update 2.3.6 f⁄MacOS8 / HyperCard Stacks for Mac OS 8 / Place in HyperCard Stacks / Audio Help
MacBinary  |  1997-04-24  |  356.4 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Audio Help

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Tue Jan 9 07:00:00 1996, modified Thu Apr 24 08:00:00 1997, creator HyperCard, type HyperCard stack, 165888 bytes "Audio Help" , at 0x28880 198845 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 41 75 64 69 6f 20 | 48 65 6c 70 00 00 00 00 |..Audio |Help....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 88 00 00 | 03 08 bd ad 18 09 40 af |........|......@.|
|00000060| 84 fb c0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4f 7c 00 00 |........|....O|..|
|00000080| 00 00 74 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..t.STAK|........|
|00000090| 00 00 00 0a 00 02 88 00 | 00 00 74 00 00 00 00 00 |........|..t.....|
|000000a0| 00 00 00 02 00 00 00 03 | 00 00 1d 53 00 00 00 6d |........|...S...m|
|000000b0| 00 00 47 e6 00 00 30 e5 | 00 00 00 00 00 00 00 00 |..G...0.|........|
|000000c0| 00 00 09 b3 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 00 60 15 02 35 80 00 | 02 35 80 00 02 35 80 00 |..`..5..|.5...5..|
|000000f0| 64 b7 17 c1 00 00 00 01 | 80 00 80 00 81 24 81 00 |d.......|.....$..|
|00000100| 00 00 00 00 03 00 04 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 94 0c 00 00 0c cf | 01 24 01 00 00 00 00 00 |........|.$......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| 88 22 88 22 88 22 88 22 | b1 30 03 1b d8 c0 0c 8d |."."."."|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| f8 00 00 00 00 00 00 00 | ff 80 80 80 ff 08 08 08 |........|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000690| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006c0| b0 b0 b0 b0 b0 b0 b0 0d | 41 75 64 69 6f 20 48 65 |........|Audio He|
|000006d0| 6c 70 0d 56 65 72 73 69 | 6f 6e 20 32 2e 33 2e 36 |lp.Versi|on 2.3.6|
|000006e0| 0d 0d a9 43 6f 70 79 72 | 69 67 68 74 20 31 39 38 |...Copyr|ight 198|
|000006f0| 37 2d 31 39 39 37 20 62 | 79 20 41 70 70 6c 65 20 |7-1997 b|y Apple |
|00000700| 43 6f 6d 70 75 74 65 72 | 2c 49 6e 63 2e 0d 41 6c |Computer|,Inc..Al|
|00000710| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|00000720| 64 2e 0d 0d 54 48 45 20 | 4d 45 53 53 41 47 45 20 |d...THE |MESSAGE |
|00000730| 48 41 4e 44 4c 45 52 53 | 20 55 53 45 44 20 49 4e |HANDLERS| USED IN|
|00000740| 20 54 48 49 53 20 53 43 | 52 49 50 54 3a 0d 6f 70 | THIS SC|RIPT:.op|
|00000750| 65 6e 53 74 61 63 6b 2c | 63 6c 6f 73 65 53 74 61 |enStack,|closeSta|
|00000760| 63 6b 2c 72 65 73 75 6d | 65 53 74 61 63 6b 2c 73 |ck,resum|eStack,s|
|00000770| 75 73 70 65 6e 64 53 74 | 61 63 6b 2c 68 65 6c 70 |uspendSt|ack,help|
|00000780| 2c 63 72 65 61 74 65 48 | 65 6c 70 4d 65 6e 75 2c |,createH|elpMenu,|
|00000790| 0d 64 65 6c 65 74 65 48 | 65 6c 70 4d 65 6e 75 2c |.deleteH|elpMenu,|
|000007a0| 73 65 74 4c 6f 63 61 74 | 69 6f 6e 43 68 65 63 6b |setLocat|ionCheck|
|000007b0| 4d 61 72 6b 2c 72 65 73 | 65 74 48 65 6c 70 47 6c |Mark,res|etHelpGl|
|000007c0| 6f 62 61 6c 2c 73 74 6f | 72 65 48 65 6c 70 49 6e |obal,sto|reHelpIn|
|000007d0| 66 6f 2c 0d 6c 65 61 76 | 65 48 65 6c 70 2c 67 6f |fo,.leav|eHelp,go|
|000007e0| 4f 76 65 72 76 69 65 77 | 2c 67 6f 42 61 6c 6c 6f |Overview|,goBallo|
|000007f0| 6f 6e 73 2c 67 6f 4d 61 | 69 6e 54 6f 70 69 63 73 |ons,goMa|inTopics|
|00000800| 2c 67 6f 43 6f 6e 74 65 | 6e 74 2c 67 6f 43 61 72 |,goConte|nt,goCar|
|00000810| 64 2c 67 6f 47 72 61 79 | 2c 0d 73 74 6f 72 65 4d |d,goGray|,.storeM|
|00000820| 6f 73 74 52 65 63 65 6e | 74 43 61 72 64 2c 73 65 |ostRecen|tCard,se|
|00000830| 6c 65 63 74 57 68 6f 6c | 65 4c 69 6e 65 2c 63 68 |lectWhol|eLine,ch|
|00000840| 65 63 6b 46 6f 72 4d 69 | 73 73 69 6e 67 46 6f 6e |eckForMi|ssingFon|
|00000850| 74 73 2c 73 61 76 65 53 | 65 6c 65 63 74 69 6f 6e |ts,saveS|election|
|00000860| 2c 0d 63 68 65 63 6b 53 | 61 76 65 53 65 6c 65 63 |,.checkS|aveSelec|
|00000870| 74 2c 61 70 43 6c 6f 73 | 65 2c 6f 70 65 6e 43 61 |t,apClos|e,openCa|
|00000880| 72 64 2c 63 6c 6f 73 65 | 43 61 72 64 2c 6f 70 65 |rd,close|Card,ope|
|00000890| 6e 46 69 65 6c 64 2c 61 | 70 4f 70 65 6e 53 74 61 |nField,a|pOpenSta|
|000008a0| 63 6b 2c 0d 61 70 43 6c | 6f 73 65 53 74 61 63 6b |ck,.apCl|oseStack|
|000008b0| 2c 61 70 48 65 6c 70 2c | 61 70 49 6e 76 6f 6b 65 |,apHelp,|apInvoke|
|000008c0| 2c 72 65 73 65 74 41 50 | 4d 65 6e 75 73 2c 61 70 |,resetAP|Menus,ap|
|000008d0| 53 61 76 65 2c 61 70 42 | 65 67 69 6e 45 64 69 74 |Save,apB|eginEdit|
|000008e0| 2c 0d 61 70 42 65 67 69 | 6e 57 61 76 65 45 64 69 |,.apBegi|nWaveEdi|
|000008f0| 74 2c 61 70 45 6e 64 57 | 61 76 65 45 64 69 74 2c |t,apEndW|aveEdit,|
|00000900| 73 74 61 72 74 53 6f 75 | 6e 64 2c 55 70 64 61 74 |startSou|nd,Updat|
|00000910| 65 50 72 6f 74 6f 53 63 | 72 69 70 74 73 2c 0d 61 |eProtoSc|ripts,.a|
|00000920| 6e 6e 6f 74 65 49 6e 73 | 74 61 6c 6c 2c 6e 6f 72 |nnoteIns|tall,nor|
|00000930| 6d 61 6c 49 6e 73 74 61 | 6c 6c 2c 55 70 64 61 74 |malInsta|ll,Updat|
|00000940| 65 41 6e 6e 6f 74 65 4d | 65 6e 75 73 2c 61 70 44 |eAnnoteM|enus,apD|
|00000950| 65 6c 56 4e 6f 74 65 2c | 61 70 48 69 64 65 4e 6f |elVNote,|apHideNo|
|00000960| 74 65 73 2c 0d 61 70 53 | 68 6f 77 4e 6f 74 65 73 |tes,.apS|howNotes|
|00000970| 2c 61 70 41 64 64 4d 65 | 6d 6f 2c 72 65 73 65 74 |,apAddMe|mo,reset|
|00000980| 41 50 42 75 74 74 6f 6e | 73 2c 50 6c 61 79 41 6c |APButton|s,PlayAl|
|00000990| 6c 4d 65 6d 6f 73 0d 0d | 54 48 45 20 46 55 4e 43 |lMemos..|THE FUNC|
|000009a0| 54 49 4f 4e 20 48 41 4e | 44 4c 45 52 53 20 55 53 |TION HAN|DLERS US|
|000009b0| 45 44 20 49 4e 20 54 48 | 49 53 20 53 43 52 49 50 |ED IN TH|IS SCRIP|
|000009c0| 54 3a 0d 6d 65 6e 75 49 | 74 65 6d 73 2c 6d 65 6e |T:.menuI|tems,men|
|000009d0| 75 43 6f 6d 6d 61 6e 64 | 73 2c 67 65 74 48 65 6c |uCommand|s,getHel|
|000009e0| 70 49 6e 66 6f 2c 73 74 | 61 63 6b 49 73 42 65 69 |pInfo,st|ackIsBei|
|000009f0| 6e 67 55 73 65 64 2c 72 | 65 61 6c 54 6f 70 69 63 |ngUsed,r|ealTopic|
|00000a00| 4e 61 6d 65 2c 0d 74 72 | 75 6e 63 61 74 65 4e 61 |Name,.tr|uncateNa|
|00000a10| 6d 65 2c 63 68 65 63 6b | 49 66 41 70 70 6f 69 6e |me,check|IfAppoin|
|00000a20| 74 6d 65 6e 74 73 2c 63 | 68 65 63 6b 49 66 41 64 |tments,c|heckIfAd|
|00000a30| 64 72 65 73 73 65 73 2c | 63 6f 6d 70 75 74 65 4d |dresses,|computeM|
|00000a40| 65 6d 6f 4c 6f 63 2c 0d | 62 75 74 74 6f 6e 41 6c |emoLoc,.|buttonAl|
|00000a50| 72 65 61 64 79 54 68 65 | 72 65 2c 63 61 72 64 48 |readyThe|re,cardH|
|00000a60| 61 73 53 6f 75 6e 64 73 | 2c 69 73 53 6f 75 6e 64 |asSounds|,isSound|
|00000a70| 42 75 74 74 6f 6e 2c 66 | 69 72 73 74 53 6f 75 6e |Button,f|irstSoun|
|00000a80| 64 42 75 74 74 6f 6e 2c | 0d 0d b0 b0 b0 b0 b0 b0 |dButton,|........|
|00000a90| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000aa0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ab0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ac0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ad0| b0 0d 0d 2d 2d 2d 2d 2d | 2d a5 a5 20 20 53 59 53 |...-----|-.. SYS|
|00000ae0| 54 45 4d 20 4d 45 53 53 | 41 47 45 53 20 20 a5 a5 |TEM MESS|AGES ..|
|00000af0| 2d 2d 2d 2d 2d 2d 0d 0d | 6f 6e 20 6f 70 65 6e 53 |------..|on openS|
|00000b00| 74 61 63 6b 0d 41 50 6f | 70 65 6e 53 74 61 63 6b |tack.APo|penStack|
|00000b10| 20 2d 2d 20 66 6f 72 20 | 74 68 65 20 41 75 64 69 | -- for |the Audi|
|00000b20| 6f 20 50 61 6c 65 74 74 | 65 0d 69 66 20 73 74 61 |o Palett|e.if sta|
|00000b30| 63 6b 49 73 42 65 69 6e | 67 55 73 65 64 28 29 20 |ckIsBein|gUsed() |
|00000b40| 74 68 65 6e 20 70 61 73 | 73 20 6f 70 65 6e 53 74 |then pas|s openSt|
|00000b50| 61 63 6b 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ack.set |cursor t|
|00000b60| 6f 20 77 61 74 63 68 0d | 63 68 65 63 6b 46 6f 72 |o watch.|checkFor|
|00000b70| 4d 69 73 73 69 6e 67 46 | 6f 6e 74 73 20 2d 2d 20 |MissingF|onts -- |
|00000b80| 43 68 65 63 6b 20 74 6f | 20 73 65 65 20 74 68 61 |Check to| see tha|
|00000b90| 74 20 6e 65 63 65 73 73 | 61 72 79 20 66 6f 6e 74 |t necess|ary font|
|00000ba0| 73 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 2e |s are av|ailable.|
|00000bb0| 0d 63 72 65 61 74 65 48 | 65 6c 70 4d 65 6e 75 20 |.createH|elpMenu |
|00000bc0| 2d 2d 20 43 72 65 61 74 | 65 20 74 68 65 20 48 65 |-- Creat|e the He|
|00000bd0| 6c 70 20 6d 65 6e 75 20 | 66 6f 72 20 74 68 69 73 |lp menu |for this|
|00000be0| 20 73 74 61 63 6b 2e 0d | 72 65 73 65 74 48 65 6c | stack..|resetHel|
|00000bf0| 70 47 6c 6f 62 61 6c 20 | 2d 2d 20 45 6d 70 74 79 |pGlobal |-- Empty|
|00000c00| 20 6f 75 74 20 74 68 65 | 20 73 74 61 63 6b 27 73 | out the| stack's|
|00000c10| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|00000c20| 2e 0d 73 74 6f 72 65 4d | 6f 73 74 52 65 63 65 6e |..storeM|ostRecen|
|00000c30| 74 43 61 72 64 20 2d 2d | 20 53 74 6f 72 65 20 74 |tCard --| Store t|
|00000c40| 68 65 20 6d 6f 73 74 20 | 72 65 63 65 6e 74 20 63 |he most |recent c|
|00000c50| 61 72 64 2c 20 73 6f 20 | 69 74 20 63 61 6e 20 62 |ard, so |it can b|
|00000c60| 65 20 72 65 74 75 72 6e | 65 64 20 74 6f 2e 0d 73 |e return|ed to..s|
|00000c70| 68 6f 77 20 67 72 6f 75 | 70 73 20 2d 2d 20 50 75 |how grou|ps -- Pu|
|00000c80| 74 20 61 20 67 72 61 79 | 20 75 6e 64 65 72 6c 69 |t a gray| underli|
|00000c90| 6e 65 20 75 6e 64 65 72 | 20 74 68 65 20 67 72 6f |ne under| the gro|
|00000ca0| 75 70 65 64 20 74 65 78 | 74 2e 0d 70 61 73 73 20 |uped tex|t..pass |
|00000cb0| 6f 70 65 6e 53 74 61 63 | 6b 0d 65 6e 64 20 6f 70 |openStac|k.end op|
|00000cc0| 65 6e 53 74 61 63 6b 0d | 0d 6f 6e 20 63 6c 6f 73 |enStack.|.on clos|
|00000cd0| 65 53 74 61 63 6b 0d 61 | 70 43 6c 6f 73 65 53 74 |eStack.a|pCloseSt|
|00000ce0| 61 63 6b 20 2d 2d 20 66 | 6f 72 20 74 68 65 20 41 |ack -- f|or the A|
|00000cf0| 75 64 69 6f 20 50 61 6c | 65 74 74 65 0d 69 66 20 |udio Pal|ette.if |
|00000d00| 73 74 61 63 6b 49 73 42 | 65 69 6e 67 55 73 65 64 |stackIsB|eingUsed|
|00000d10| 28 29 20 74 68 65 6e 20 | 70 61 73 73 20 63 6c 6f |() then |pass clo|
|00000d20| 73 65 53 74 61 63 6b 0d | 73 65 74 20 63 75 72 73 |seStack.|set curs|
|00000d30| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 73 65 6e 64 |or to wa|tch.send|
|00000d40| 20 72 65 73 65 74 4d 61 | 69 6e 54 6f 70 69 63 73 | resetMa|inTopics|
|00000d50| 43 61 72 64 20 74 6f 20 | 63 61 72 64 20 31 0d 72 |Card to |card 1.r|
|00000d60| 65 73 65 74 48 65 6c 70 | 47 6c 6f 62 61 6c 0d 64 |esetHelp|Global.d|
|00000d70| 65 6c 65 74 65 48 65 6c | 70 4d 65 6e 75 0d 68 69 |eleteHel|pMenu.hi|
|00000d80| 64 65 20 67 72 6f 75 70 | 73 0d 70 61 73 73 20 63 |de group|s.pass c|
|00000d90| 6c 6f 73 65 53 74 61 63 | 6b 0d 65 6e 64 20 63 6c |loseStac|k.end cl|
|00000da0| 6f 73 65 53 74 61 63 6b | 0d 0d 6f 6e 20 72 65 73 |oseStack|..on res|
|00000db0| 75 6d 65 53 74 61 63 6b | 0d 73 65 74 20 63 75 72 |umeStack|.set cur|
|00000dc0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 41 50 6f |sor to w|atch.APo|
|00000dd0| 70 65 6e 53 74 61 63 6b | 20 2d 2d 20 66 6f 72 20 |penStack| -- for |
|00000de0| 74 68 65 20 41 75 64 69 | 6f 20 50 61 6c 65 74 74 |the Audi|o Palett|
|00000df0| 65 0d 69 66 20 73 74 61 | 63 6b 49 73 42 65 69 6e |e.if sta|ckIsBein|
|00000e00| 67 55 73 65 64 28 29 20 | 74 68 65 6e 20 70 61 73 |gUsed() |then pas|
|00000e10| 73 20 72 65 73 75 6d 65 | 53 74 61 63 6b 0d 63 72 |s resume|Stack.cr|
|00000e20| 65 61 74 65 48 65 6c 70 | 4d 65 6e 75 0d 73 68 6f |eateHelp|Menu.sho|
|00000e30| 77 20 67 72 6f 75 70 73 | 0d 73 65 6e 64 20 22 73 |w groups|.send "s|
|00000e40| 65 74 43 68 65 63 6b 4d | 61 72 6b 20 74 72 75 65 |etCheckM|ark true|
|00000e50| 22 20 74 6f 20 74 68 69 | 73 20 63 61 72 64 0d 70 |" to thi|s card.p|
|00000e60| 61 73 73 20 72 65 73 75 | 6d 65 53 74 61 63 6b 0d |ass resu|meStack.|
|00000e70| 65 6e 64 20 72 65 73 75 | 6d 65 53 74 61 63 6b 0d |end resu|meStack.|
|00000e80| 0d 6f 6e 20 73 75 73 70 | 65 6e 64 53 74 61 63 6b |.on susp|endStack|
|00000e90| 0d 61 70 43 6c 6f 73 65 | 53 74 61 63 6b 20 2d 2d |.apClose|Stack --|
|00000ea0| 20 66 6f 72 20 74 68 65 | 20 41 75 64 69 6f 20 50 | for the| Audio P|
|00000eb0| 61 6c 65 74 74 65 0d 69 | 66 20 73 74 61 63 6b 49 |alette.i|f stackI|
|00000ec0| 73 42 65 69 6e 67 55 73 | 65 64 28 29 20 74 68 65 |sBeingUs|ed() the|
|00000ed0| 6e 20 70 61 73 73 20 73 | 75 73 70 65 6e 64 53 74 |n pass s|uspendSt|
|00000ee0| 61 63 6b 0d 64 65 6c 65 | 74 65 48 65 6c 70 4d 65 |ack.dele|teHelpMe|
|00000ef0| 6e 75 0d 70 61 73 73 20 | 73 75 73 70 65 6e 64 53 |nu.pass |suspendS|
|00000f00| 74 61 63 6b 0d 65 6e 64 | 20 73 75 73 70 65 6e 64 |tack.end| suspend|
|00000f10| 53 74 61 63 6b 0d 0d 6f | 6e 20 68 65 6c 70 20 74 |Stack..o|n help t|
|00000f20| 68 65 54 6f 70 69 63 0d | 70 75 74 20 22 48 79 70 |heTopic.|put "Hyp|
|00000f30| 65 72 43 61 72 64 20 48 | 65 6c 70 22 20 69 6e 74 |erCard H|elp" int|
|00000f40| 6f 20 74 68 65 53 74 61 | 63 6b 20 20 2d 2d c6 0d |o theSta|ck --..|
|00000f50| 70 75 74 20 22 41 75 64 | 69 6f 20 48 65 6c 70 22 |put "Aud|io Help"|
|00000f60| 20 69 6e 74 6f 20 41 75 | 64 69 6f 48 65 6c 70 20 | into Au|dioHelp |
|00000f70| 20 2d 2d c6 0d 67 6f 20 | 73 74 61 63 6b 20 74 68 | --..go |stack th|
|00000f80| 65 53 74 61 63 6b 20 69 | 6e 20 61 20 6e 65 77 20 |eStack i|n a new |
|00000f90| 77 69 6e 64 6f 77 20 2d | 2d 20 74 72 79 20 69 6e |window -|- try in|
|00000fa0| 20 61 20 6e 65 77 20 77 | 69 6e 64 6f 77 0d 69 66 | a new w|indow.if|
|00000fb0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 3d 20 22 43 | the res|ult = "C|
|00000fc0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 0d 67 6f 20 73 |ancel" t|hen.go s|
|00000fd0| 74 61 63 6b 20 41 75 64 | 69 6f 48 65 6c 70 20 69 |tack Aud|ioHelp i|
|00000fe0| 6e 20 61 20 6e 65 77 20 | 77 69 6e 64 6f 77 0d 65 |n a new |window.e|
|00000ff0| 78 69 74 20 68 65 6c 70 | 0d 65 6c 73 65 20 69 66 |xit help|.else if|
|00001000| 20 74 68 65 20 72 65 73 | 75 6c 74 20 ad 20 65 6d | the res|ult . em|
|00001010| 70 74 79 20 74 68 65 6e | 0d 67 6f 20 73 74 61 63 |pty then|.go stac|
|00001020| 6b 20 74 68 65 53 74 61 | 63 6b 0d 65 6e 64 20 69 |k theSta|ck.end i|
|00001030| 66 0d 69 66 20 73 68 6f | 72 74 20 6e 61 6d 65 20 |f.if sho|rt name |
|00001040| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 69 73 |of this |stack is|
|00001050| 20 74 68 65 53 74 61 63 | 6b 20 74 68 65 6e 20 66 | theStac|k then f|
|00001060| 69 6e 64 49 6e 54 69 74 | 6c 65 20 74 68 65 54 6f |indInTit|le theTo|
|00001070| 70 69 63 20 2d 2d 20 69 | 6e 20 74 68 65 20 68 65 |pic -- i|n the he|
|00001080| 6c 70 20 73 74 61 63 6b | 0d 65 6e 64 20 68 65 6c |lp stack|.end hel|
|00001090| 70 0d 0d 2d 2d 2d 2d 2d | 2d a5 a5 20 20 53 43 52 |p..-----|-.. SCR|
|000010a0| 49 50 54 53 20 46 4f 52 | 20 48 41 4e 44 4c 49 4e |IPTS FOR| HANDLIN|
|000010b0| 47 20 54 48 45 20 48 45 | 4c 50 20 4d 45 4e 55 20 |G THE HE|LP MENU |
|000010c0| 20 a5 a5 2d 2d 2d 2d 2d | 2d 0d 0d 6f 6e 20 63 72 | ..-----|-..on cr|
|000010d0| 65 61 74 65 48 65 6c 70 | 4d 65 6e 75 0d 2d 2d 20 |eateHelp|Menu.-- |
|000010e0| 43 72 65 61 74 65 20 74 | 68 65 20 73 74 61 63 6b |Create t|he stack|
|000010f0| 2d 73 70 65 63 69 66 69 | 63 20 6d 65 6e 75 2e 0d |-specifi|c menu..|
|00001100| 67 6c 6f 62 61 6c 20 41 | 75 64 69 6f 48 65 6c 70 |global A|udioHelp|
|00001110| 4d 65 6e 75 0d 70 75 74 | 20 22 54 6f 70 69 63 73 |Menu.put| "Topics|
|00001120| 22 20 69 6e 74 6f 20 41 | 75 64 69 6f 48 65 6c 70 |" into A|udioHelp|
|00001130| 4d 65 6e 75 20 2d 2d 20 | c6 20 6e 61 6d 65 20 6f |Menu -- |. name o|
|00001140| 66 20 73 74 61 63 6b 2d | 73 70 65 63 69 66 69 63 |f stack-|specific|
|00001150| 20 6d 65 6e 75 0d 2d 2d | 20 52 65 6d 6f 76 65 20 | menu.--| Remove |
|00001160| 61 6e 79 20 65 78 69 73 | 74 69 6e 67 20 6d 65 6e |any exis|ting men|
|00001170| 75 73 20 74 68 61 74 20 | 6d 69 67 68 74 20 68 61 |us that |might ha|
|00001180| 76 65 20 74 68 65 20 73 | 61 6d 65 20 6e 61 6d 65 |ve the s|ame name|
|00001190| 2e 0d 64 65 6c 65 74 65 | 48 65 6c 70 4d 65 6e 75 |..delete|HelpMenu|
|000011a0| 0d 63 72 65 61 74 65 20 | 6d 65 6e 75 20 41 75 64 |.create |menu Aud|
|000011b0| 69 6f 48 65 6c 70 4d 65 | 6e 75 0d 70 75 74 20 6d |ioHelpMe|nu.put m|
|000011c0| 65 6e 75 49 74 65 6d 73 | 28 29 20 69 6e 74 6f 20 |enuItems|() into |
|000011d0| 6d 65 6e 75 20 41 75 64 | 69 6f 48 65 6c 70 4d 65 |menu Aud|ioHelpMe|
|000011e0| 6e 75 20 77 69 74 68 20 | 6d 65 6e 75 4d 73 67 20 |nu with |menuMsg |
|000011f0| 6d 65 6e 75 43 6f 6d 6d | 61 6e 64 73 28 29 0d 2d |menuComm|ands().-|
|00001200| 2d 20 44 69 73 61 62 6c | 65 20 74 68 65 20 6d 65 |- Disabl|e the me|
|00001210| 6e 75 20 69 74 65 6d 20 | 22 50 72 69 6e 74 20 54 |nu item |"Print T|
|00001220| 6f 70 69 63 22 0d 64 69 | 73 61 62 6c 65 20 6d 65 |opic".di|sable me|
|00001230| 6e 75 49 74 65 6d 20 36 | 20 6f 66 20 6d 65 6e 75 |nuItem 6| of menu|
|00001240| 20 41 75 64 69 6f 48 65 | 6c 70 4d 65 6e 75 0d 65 | AudioHe|lpMenu.e|
|00001250| 6e 64 20 63 72 65 61 74 | 65 48 65 6c 70 4d 65 6e |nd creat|eHelpMen|
|00001260| 75 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 6d 65 6e 75 |u..funct|ion menu|
|00001270| 49 74 65 6d 73 0d 2d 2d | 20 52 65 74 75 72 6e 20 |Items.--| Return |
|00001280| 74 68 65 20 6d 65 6e 75 | 20 69 74 65 6d 73 20 66 |the menu| items f|
|00001290| 6f 72 20 74 68 65 20 73 | 74 61 63 6b 2d 73 70 65 |or the s|tack-spe|
|000012a0| 63 69 66 69 63 20 6d 65 | 6e 75 2e 0d 72 65 74 75 |cific me|nu..retu|
|000012b0| 72 6e 20 22 4d 61 69 6e | 20 54 6f 70 69 63 73 2c |rn "Main| Topics,|
|000012c0| 43 6f 6e 74 65 6e 74 2c | 51 75 69 63 6b 20 56 69 |Content,|Quick Vi|
|000012d0| 65 77 2c 4f 76 65 72 76 | 69 65 77 2c 2d 2c 50 72 |ew,Overv|iew,-,Pr|
|000012e0| 69 6e 74 20 54 6f 70 69 | 63 22 20 2d 2d 20 c6 0d |int Topi|c" -- ..|
|000012f0| 65 6e 64 20 6d 65 6e 75 | 49 74 65 6d 73 0d 0d 66 |end menu|Items..f|
|00001300| 75 6e 63 74 69 6f 6e 20 | 6d 65 6e 75 43 6f 6d 6d |unction |menuComm|
|00001310| 61 6e 64 73 0d 2d 2d 20 | 52 65 74 75 72 6e 20 74 |ands.-- |Return t|
|00001320| 68 65 20 6d 65 6e 75 20 | 63 6f 6d 6d 61 6e 64 73 |he menu |commands|
|00001330| 20 66 6f 72 20 74 68 65 | 20 73 74 61 63 6b 2d 73 | for the| stack-s|
|00001340| 70 65 63 69 66 69 63 20 | 6d 65 6e 75 2e 0d 72 65 |pecific |menu..re|
|00001350| 74 75 72 6e 20 22 67 6f | 4d 61 69 6e 54 6f 70 69 |turn "go|MainTopi|
|00001360| 63 73 2c 67 6f 43 6f 6e | 74 65 6e 74 2c 67 6f 42 |cs,goCon|tent,goB|
|00001370| 61 6c 6c 6f 6f 6e 73 2c | 67 6f 4f 76 65 72 76 69 |alloons,|goOvervi|
|00001380| 65 77 2c 2c 70 72 69 6e | 74 54 6f 70 69 63 22 0d |ew,,prin|tTopic".|
|00001390| 65 6e 64 20 6d 65 6e 75 | 43 6f 6d 6d 61 6e 64 73 |end menu|Commands|
|000013a0| 0d 0d 6f 6e 20 64 65 6c | 65 74 65 48 65 6c 70 4d |..on del|eteHelpM|
|000013b0| 65 6e 75 0d 67 6c 6f 62 | 61 6c 20 41 75 64 69 6f |enu.glob|al Audio|
|000013c0| 48 65 6c 70 4d 65 6e 75 | 0d 69 66 20 74 68 65 72 |HelpMenu|.if ther|
|000013d0| 65 20 69 73 20 61 20 6d | 65 6e 75 20 41 75 64 69 |e is a m|enu Audi|
|000013e0| 6f 48 65 6c 70 4d 65 6e | 75 20 74 68 65 6e 20 64 |oHelpMen|u then d|
|000013f0| 65 6c 65 74 65 20 6d 65 | 6e 75 20 41 75 64 69 6f |elete me|nu Audio|
|00001400| 48 65 6c 70 4d 65 6e 75 | 0d 65 6e 64 20 64 65 6c |HelpMenu|.end del|
|00001410| 65 74 65 48 65 6c 70 4d | 65 6e 75 0d 0d 6f 6e 20 |eteHelpM|enu..on |
|00001420| 73 65 74 4c 6f 63 61 74 | 69 6f 6e 43 68 65 63 6b |setLocat|ionCheck|
|00001430| 4d 61 72 6b 20 77 68 69 | 63 68 49 74 65 6d 2c 62 |Mark whi|chItem,b|
|00001440| 6f 6f 6c 65 61 6e 0d 2d | 2d 20 53 65 74 20 61 20 |oolean.-|- Set a |
|00001450| 63 68 65 63 6b 20 6d 61 | 72 6b 20 74 6f 20 69 6e |check ma|rk to in|
|00001460| 64 69 61 74 65 20 74 68 | 65 20 63 75 72 72 65 6e |diate th|e curren|
|00001470| 74 20 6c 6f 63 61 74 69 | 6f 6e 2e 0d 2d 2d 20 77 |t locati|on..-- w|
|00001480| 68 69 63 68 49 74 65 6d | 20 69 73 20 61 6e 20 69 |hichItem| is an i|
|00001490| 6e 74 65 67 65 72 2c 20 | 74 68 65 20 6d 65 6e 75 |nteger, |the menu|
|000014a0| 20 69 74 65 6d 20 74 68 | 61 74 20 79 6f 75 20 77 | item th|at you w|
|000014b0| 61 6e 74 20 74 6f 20 63 | 68 65 63 6b 0d 2d 2d 20 |ant to c|heck.-- |
|000014c0| 6f 72 20 75 6e 63 68 65 | 63 6b 2e 0d 2d 2d 20 77 |or unche|ck..-- w|
|000014d0| 68 69 63 68 49 74 65 6d | 20 69 73 20 74 72 75 65 |hichItem| is true|
|000014e0| 20 6f 72 20 66 61 6c 73 | 65 20 64 65 70 65 6e 64 | or fals|e depend|
|000014f0| 69 6e 67 20 6f 6e 20 77 | 68 65 74 68 65 72 20 79 |ing on w|hether y|
|00001500| 6f 75 20 77 61 6e 74 20 | 74 6f 0d 2d 2d 20 63 68 |ou want |to.-- ch|
|00001510| 65 63 6b 20 6f 72 20 75 | 6e 63 68 65 63 6b 20 74 |eck or u|ncheck t|
|00001520| 68 65 20 6d 65 6e 75 20 | 69 74 65 6d 2e 0d 67 6c |he menu |item..gl|
|00001530| 6f 62 61 6c 20 41 75 64 | 69 6f 48 65 6c 70 4d 65 |obal Aud|ioHelpMe|
|00001540| 6e 75 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 6e |nu.if th|ere is n|
|00001550| 6f 20 6d 65 6e 75 20 41 | 75 64 69 6f 48 65 6c 70 |o menu A|udioHelp|
|00001560| 4d 65 6e 75 20 74 68 65 | 6e 0d 63 72 65 61 74 65 |Menu the|n.create|
|00001570| 48 65 6c 70 4d 65 6e 75 | 0d 65 6e 64 20 69 66 0d |HelpMenu|.end if.|
|00001580| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|00001590| 6e 75 49 74 65 6d 20 77 | 68 69 63 68 49 74 65 6d |nuItem w|hichItem|
|000015a0| 20 69 6e 20 6d 65 6e 75 | 20 41 75 64 69 6f 48 65 | in menu| AudioHe|
|000015b0| 6c 70 4d 65 6e 75 20 74 | 68 65 6e 0d 73 65 74 20 |lpMenu t|hen.set |
|000015c0| 63 68 65 63 6b 4d 61 72 | 6b 20 6f 66 20 6d 65 6e |checkMar|k of men|
|000015d0| 75 49 74 65 6d 20 77 68 | 69 63 68 49 74 65 6d 20 |uItem wh|ichItem |
|000015e0| 6f 66 20 6d 65 6e 75 20 | 41 75 64 69 6f 48 65 6c |of menu |AudioHel|
|000015f0| 70 4d 65 6e 75 20 74 6f | 20 62 6f 6f 6c 65 61 6e |pMenu to| boolean|
|00001600| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 73 65 74 4c |.end if.|end setL|
|00001610| 6f 63 61 74 69 6f 6e 43 | 68 65 63 6b 4d 61 72 6b |ocationC|heckMark|
|00001620| 0d 0d 2d 2d 2d 2d 2d 2d | a5 a5 20 20 53 43 52 49 |..------|.. SCRI|
|00001630| 50 54 53 20 46 4f 52 20 | 48 41 4e 44 4c 49 4e 47 |PTS FOR |HANDLING|
|00001640| 20 54 48 45 20 48 45 4c | 50 20 47 4c 4f 42 41 4c | THE HEL|P GLOBAL|
|00001650| 20 20 a5 a5 2d 2d 2d 2d | 2d 2d 0d 0d 6f 6e 20 72 | ..----|--..on r|
|00001660| 65 73 65 74 48 65 6c 70 | 47 6c 6f 62 61 6c 0d 67 |esetHelp|Global.g|
|00001670| 6c 6f 62 61 6c 20 41 75 | 64 69 6f 48 65 6c 70 49 |lobal Au|dioHelpI|
|00001680| 6e 66 6f 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |nfo.put |empty in|
|00001690| 74 6f 20 41 75 64 69 6f | 48 65 6c 70 49 6e 66 6f |to Audio|HelpInfo|
|000016a0| 0d 65 6e 64 20 72 65 73 | 65 74 48 65 6c 70 47 6c |.end res|etHelpGl|
|000016b0| 6f 62 61 6c 0d 0d 6f 6e | 20 73 74 6f 72 65 48 65 |obal..on| storeHe|
|000016c0| 6c 70 49 6e 66 6f 20 6c | 69 6e 65 4e 75 6d 62 65 |lpInfo l|ineNumbe|
|000016d0| 72 2c 74 68 65 56 61 6c | 75 65 0d 2d 2d 20 55 73 |r,theVal|ue.-- Us|
|000016e0| 65 20 74 68 69 73 20 68 | 61 6e 64 6c 65 72 20 74 |e this h|andler t|
|000016f0| 6f 20 70 75 74 20 61 20 | 76 61 6c 75 65 20 69 6e |o put a |value in|
|00001700| 74 6f 20 74 68 65 20 67 | 6c 6f 62 61 6c 20 41 75 |to the g|lobal Au|
|00001710| 64 69 6f 48 65 6c 70 49 | 6e 66 6f 2e 0d 2d 2d 20 |dioHelpI|nfo..-- |
|00001720| 6c 69 6e 65 4e 75 6d 62 | 65 72 20 69 73 20 61 6e |lineNumb|er is an|
|00001730| 20 69 6e 74 65 67 65 72 | 2c 20 74 68 65 20 6c 69 | integer|, the li|
|00001740| 6e 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 65 |ne numbe|r of the|
|00001750| 0d 2d 2d 20 67 6c 6f 62 | 61 6c 20 79 6f 75 20 77 |.-- glob|al you w|
|00001760| 61 6e 74 20 74 6f 20 70 | 75 74 20 74 68 65 20 76 |ant to p|ut the v|
|00001770| 61 6c 75 65 20 69 6e 74 | 6f 2e 20 74 68 65 56 61 |alue int|o. theVa|
|00001780| 6c 75 65 20 69 73 20 74 | 68 65 20 76 61 6c 75 65 |lue is t|he value|
|00001790| 0d 2d 2d 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |.-- you |want to |
|000017a0| 73 74 6f 72 65 20 69 6e | 20 74 68 65 20 67 6c 6f |store in| the glo|
|000017b0| 62 61 6c 2e 0d 67 6c 6f | 62 61 6c 20 41 75 64 69 |bal..glo|bal Audi|
|000017c0| 6f 48 65 6c 70 49 6e 66 | 6f 0d 70 75 74 20 74 68 |oHelpInf|o.put th|
|000017d0| 65 56 61 6c 75 65 20 69 | 6e 74 6f 20 6c 69 6e 65 |eValue i|nto line|
|000017e0| 20 6c 69 6e 65 4e 75 6d | 62 65 72 20 6f 66 20 41 | lineNum|ber of A|
|000017f0| 75 64 69 6f 48 65 6c 70 | 49 6e 66 6f 0d 65 6e 64 |udioHelp|Info.end|
|00001800| 20 73 74 6f 72 65 48 65 | 6c 70 49 6e 66 6f 0d 0d | storeHe|lpInfo..|
|00001810| 66 75 6e 63 74 69 6f 6e | 20 67 65 74 48 65 6c 70 |function| getHelp|
|00001820| 49 6e 66 6f 20 6c 69 6e | 65 4e 75 6d 62 65 72 0d |Info lin|eNumber.|
|00001830| 2d 2d 20 55 73 65 20 74 | 68 69 73 20 68 61 6e 6c |-- Use t|his hanl|
|00001840| 64 65 72 20 74 6f 20 67 | 65 74 20 61 20 76 61 6c |der to g|et a val|
|00001850| 75 65 20 66 72 6f 6d 20 | 74 68 65 20 41 75 64 69 |ue from |the Audi|
|00001860| 6f 48 65 6c 70 49 6e 66 | 6f 20 67 6c 6f 62 61 6c |oHelpInf|o global|
|00001870| 2e 0d 2d 2d 20 6c 69 6e | 65 4e 75 6d 62 65 72 20 |..-- lin|eNumber |
|00001880| 69 73 20 61 6e 20 69 6e | 74 65 67 65 72 2c 20 74 |is an in|teger, t|
|00001890| 68 65 20 6c 69 6e 65 20 | 6e 75 6d 62 65 72 20 6f |he line |number o|
|000018a0| 66 20 74 68 65 0d 2d 2d | 20 67 6c 6f 62 61 6c 20 |f the.--| global |
|000018b0| 74 68 61 74 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |that you| want to|
|000018c0| 20 72 65 74 75 72 6e 2e | 0d 67 6c 6f 62 61 6c 20 | return.|.global |
|000018d0| 41 75 64 69 6f 48 65 6c | 70 49 6e 66 6f 0d 72 65 |AudioHel|pInfo.re|
|000018e0| 74 75 72 6e 20 6c 69 6e | 65 20 6c 69 6e 65 4e 75 |turn lin|e lineNu|
|000018f0| 6d 62 65 72 20 6f 66 20 | 41 75 64 69 6f 48 65 6c |mber of |AudioHel|
|00001900| 70 49 6e 66 6f 0d 65 6e | 64 20 67 65 74 48 65 6c |pInfo.en|d getHel|
|00001910| 70 49 6e 66 6f 0d 0d 2d | 2d 2d 2d 2d 2d a5 a5 20 |pInfo..-|-----.. |
|00001920| 20 53 43 52 49 50 54 53 | 20 46 4f 52 20 42 41 53 | SCRIPTS| FOR BAS|
|00001930| 49 43 20 4e 41 56 49 47 | 41 54 49 4f 4e 20 20 a5 |IC NAVIG|ATION .|
|00001940| a5 2d 2d 2d 2d 2d 2d 0d | 0d 6f 6e 20 6c 65 61 76 |.------.|.on leav|
|00001950| 65 48 65 6c 70 0d 2d 2d | 20 54 68 69 73 20 68 61 |eHelp.--| This ha|
|00001960| 6e 64 6c 65 72 20 69 73 | 20 63 61 6c 6c 65 64 20 |ndler is| called |
|00001970| 77 68 65 6e 20 79 6f 75 | 20 63 6c 69 63 6b 20 74 |when you| click t|
|00001980| 68 65 20 4c 65 61 76 65 | 20 48 65 6c 70 20 62 75 |he Leave| Help bu|
|00001990| 74 74 6f 6e 20 69 6e 0d | 2d 2d 20 65 69 74 68 65 |tton in.|-- eithe|
|000019a0| 72 20 62 61 63 6b 67 72 | 6f 75 6e 64 2e 0d 70 75 |r backgr|ound..pu|
|000019b0| 74 20 67 65 74 48 65 6c | 70 49 6e 66 6f 28 31 29 |t getHel|pInfo(1)|
|000019c0| 20 69 6e 74 6f 20 74 68 | 65 43 61 72 64 20 2d 2d | into th|eCard --|
|000019d0| 20 70 61 74 68 20 6f 66 | 20 74 68 65 20 72 65 74 | path of| the ret|
|000019e0| 75 72 6e 20 63 61 72 64 | 0d 69 66 20 74 68 65 43 |urn card|.if theC|
|000019f0| 61 72 64 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ard is e|mpty the|
|00001a00| 6e 20 70 75 74 20 22 48 | 6f 6d 65 22 20 69 6e 74 |n put "H|ome" int|
|00001a10| 6f 20 74 68 65 43 61 72 | 64 0d 67 6f 20 74 68 65 |o theCar|d.go the|
|00001a20| 43 61 72 64 0d 65 6e 64 | 20 6c 65 61 76 65 48 65 |Card.end| leaveHe|
|00001a30| 6c 70 0d 0d 6f 6e 20 67 | 6f 4f 76 65 72 76 69 65 |lp..on g|oOvervie|
|00001a40| 77 0d 2d 2d 20 47 6f 20 | 74 6f 20 74 68 65 20 4f |w.-- Go |to the O|
|00001a50| 76 65 72 76 69 65 77 20 | 63 61 72 64 2e 0d 70 75 |verview |card..pu|
|00001a60| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |t the na|me of th|
|00001a70| 69 73 20 63 61 72 64 20 | 69 6e 74 6f 20 63 61 72 |is card |into car|
|00001a80| 64 4e 61 6d 65 0d 70 75 | 74 20 72 65 61 6c 54 6f |dName.pu|t realTo|
|00001a90| 70 69 63 4e 61 6d 65 28 | 29 20 69 6e 74 6f 20 74 |picName(|) into t|
|00001aa0| 6f 70 69 63 4e 61 6d 65 | 0d 67 6f 43 61 72 64 20 |opicName|.goCard |
|00001ab0| 22 4f 76 65 72 76 69 65 | 77 22 0d 65 6e 64 20 67 |"Overvie|w".end g|
|00001ac0| 6f 4f 76 65 72 76 69 65 | 77 0d 0d 6f 6e 20 67 6f |oOvervie|w..on go|
|00001ad0| 42 61 6c 6c 6f 6f 6e 73 | 0d 2d 2d 20 47 6f 20 74 |Balloons|.-- Go t|
|00001ae0| 6f 20 74 68 65 20 51 75 | 69 63 6b 20 56 69 65 77 |o the Qu|ick View|
|00001af0| 20 63 61 72 64 2e 0d 70 | 75 74 20 74 68 65 20 6e | card..p|ut the n|
|00001b00| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ame of t|his card|
|00001b10| 20 69 6e 74 6f 20 63 61 | 72 64 4e 61 6d 65 0d 70 | into ca|rdName.p|
|00001b20| 75 74 20 72 65 61 6c 54 | 6f 70 69 63 4e 61 6d 65 |ut realT|opicName|
|00001b30| 28 29 20 69 6e 74 6f 20 | 74 6f 70 69 63 4e 61 6d |() into |topicNam|
|00001b40| 65 0d 67 6f 43 61 72 64 | 20 22 51 75 69 63 6b 20 |e.goCard| "Quick |
|00001b50| 56 69 65 77 22 0d 65 6e | 64 20 67 6f 42 61 6c 6c |View".en|d goBall|
|00001b60| 6f 6f 6e 73 0d 0d 6f 6e | 20 67 6f 4d 61 69 6e 54 |oons..on| goMainT|
|00001b70| 6f 70 69 63 73 0d 2d 2d | 20 47 6f 20 74 6f 20 74 |opics.--| Go to t|
|00001b80| 68 65 20 66 69 72 73 74 | 20 6d 61 69 6e 20 74 6f |he first| main to|
|00001b90| 70 69 63 73 20 63 61 72 | 64 2e 0d 67 6f 20 66 69 |pics car|d..go fi|
|00001ba0| 72 73 74 20 63 61 72 64 | 0d 65 6e 64 20 67 6f 4d |rst card|.end goM|
|00001bb0| 61 69 6e 54 6f 70 69 63 | 73 0d 0d 6f 6e 20 67 6f |ainTopic|s..on go|
|00001bc0| 43 6f 6e 74 65 6e 74 0d | 2d 2d 20 47 6f 20 74 6f |Content.|-- Go to|
|00001bd0| 20 74 68 65 20 43 6f 6e | 74 65 6e 74 20 62 61 63 | the Con|tent bac|
|00001be0| 6b 67 72 6f 75 6e 64 0d | 67 6f 20 62 6b 67 6e 64 |kground.|go bkgnd|
|00001bf0| 20 22 43 6f 6e 74 65 6e | 74 22 0d 65 6e 64 20 67 | "Conten|t".end g|
|00001c00| 6f 43 6f 6e 74 65 6e 74 | 0d 0d 6f 6e 20 67 6f 43 |oContent|..on goC|
|00001c10| 61 72 64 20 63 61 72 64 | 4e 61 6d 65 0d 2d 2d 20 |ard card|Name.-- |
|00001c20| 47 6f 20 74 6f 20 61 20 | 63 61 72 64 20 62 79 20 |Go to a |card by |
|00001c30| 6e 61 6d 65 2c 20 6d 61 | 6b 69 6e 67 20 73 75 72 |name, ma|king sur|
|00001c40| 65 20 74 6f 20 74 72 75 | 6e 63 61 74 65 20 74 68 |e to tru|ncate th|
|00001c50| 65 20 6e 61 6d 65 0d 2d | 2d 20 74 6f 20 32 38 20 |e name.-|- to 28 |
|00001c60| 63 68 61 72 73 2e 20 41 | 6c 6c 20 63 61 72 64 20 |chars. A|ll card |
|00001c70| 6e 61 6d 65 73 20 61 72 | 65 20 61 6c 72 65 61 64 |names ar|e alread|
|00001c80| 79 20 74 72 75 6e 63 61 | 74 65 64 2e 0d 2d 2d 20 |y trunca|ted..-- |
|00001c90| 63 61 72 64 4e 61 6d 65 | 20 69 73 20 74 68 65 20 |cardName| is the |
|00001ca0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00001cb0| 65 20 63 61 72 64 20 79 | 6f 75 20 77 61 6e 74 20 |e card y|ou want |
|00001cc0| 74 6f 20 67 6f 20 74 6f | 2e 0d 73 65 74 20 63 75 |to go to|..set cu|
|00001cd0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 69 66 |rsor to |watch.if|
|00001ce0| 20 63 61 72 64 4e 61 6d | 65 20 69 73 20 65 6d 70 | cardNam|e is emp|
|00001cf0| 74 79 20 74 68 65 6e 20 | 65 78 69 74 20 67 6f 43 |ty then |exit goC|
|00001d00| 61 72 64 0d 77 61 69 74 | 20 35 0d 67 6f 20 63 61 |ard.wait| 5.go ca|
|00001d10| 72 64 20 74 72 75 6e 63 | 61 74 65 4e 61 6d 65 28 |rd trunc|ateName(|
|00001d20| 63 61 72 64 4e 61 6d 65 | 29 0d 69 66 20 74 68 65 |cardName|).if the|
|00001d30| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 65 | result |is not e|
|00001d40| 6d 70 74 79 20 74 68 65 | 6e 0d 2d 2d 20 54 68 65 |mpty the|n.-- The|
|00001d50| 20 72 65 71 75 65 73 74 | 65 64 20 63 61 72 64 20 | request|ed card |
|00001d60| 77 61 73 6e 27 74 20 66 | 6f 75 6e 64 2e 0d 67 65 |wasn't f|ound..ge|
|00001d70| 74 20 74 68 65 20 72 65 | 73 75 6c 74 0d 62 65 65 |t the re|sult.bee|
|00001d80| 70 0d 61 6e 73 77 65 72 | 20 69 74 20 26 26 20 71 |p.answer| it && q|
|00001d90| 75 6f 74 65 20 26 20 63 | 61 72 64 4e 61 6d 65 20 |uote & c|ardName |
|00001da0| 26 20 71 75 6f 74 65 20 | 26 20 22 2e 22 0d 65 78 |& quote |& ".".ex|
|00001db0| 69 74 20 67 6f 43 61 72 | 64 0d 65 6e 64 20 69 66 |it goCar|d.end if|
|00001dc0| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 20 69 73 |.if the |mouse is|
|00001dd0| 20 64 6f 77 6e 20 74 68 | 65 6e 20 65 78 69 74 20 | down th|en exit |
|00001de0| 67 6f 43 61 72 64 20 2d | 2d 20 74 72 61 70 20 64 |goCard -|- trap d|
|00001df0| 6f 75 62 6c 65 20 63 6c | 69 63 6b 0d 65 6e 64 20 |ouble cl|ick.end |
|00001e00| 67 6f 43 61 72 64 0d 0d | 6f 6e 20 67 6f 47 72 61 |goCard..|on goGra|
|00001e10| 79 0d 2d 2d 20 59 6f 75 | 20 63 6c 69 63 6b 65 64 |y.-- You| clicked|
|00001e20| 20 6f 6e 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 67 | on one |of the g|
|00001e30| 72 61 79 20 6e 61 76 69 | 67 61 74 69 6f 6e 20 62 |ray navi|gation b|
|00001e40| 75 74 74 6f 6e 73 2e 0d | 62 65 65 70 0d 65 6e 64 |uttons..|beep.end|
|00001e50| 20 67 6f 47 72 61 79 0d | 0d 2d 2d 2d 2d 2d 2d a5 | goGray.|.------.|
|00001e60| a5 20 20 47 45 4e 45 52 | 41 4c 20 4d 45 53 53 41 |. GENER|AL MESSA|
|00001e70| 47 45 20 48 41 4e 44 4c | 45 52 53 20 20 a5 a5 2d |GE HANDL|ERS ..-|
|00001e80| 2d 2d 2d 2d 2d 0d 0d 6f | 6e 20 73 74 6f 72 65 4d |-----..o|n storeM|
|00001e90| 6f 73 74 52 65 63 65 6e | 74 43 61 72 64 0d 2d 2d |ostRecen|tCard.--|
|00001ea0| 20 54 68 69 73 20 68 61 | 6e 64 6c 65 72 20 73 74 | This ha|ndler st|
|00001eb0| 6f 72 65 73 20 74 68 65 | 20 6d 6f 73 74 20 72 65 |ores the| most re|
|00001ec0| 63 65 6e 74 20 63 61 72 | 64 20 69 6e 20 61 20 67 |cent car|d in a g|
|00001ed0| 6c 6f 62 61 6c 2c 20 73 | 6f 20 79 6f 75 0d 2d 2d |lobal, s|o you.--|
|00001ee0| 20 63 61 6e 20 72 65 74 | 75 72 6e 20 74 6f 20 69 | can ret|urn to i|
|00001ef0| 74 20 77 68 65 6e 20 79 | 6f 75 20 63 6c 69 63 6b |t when y|ou click|
|00001f00| 20 74 68 65 20 22 4c 65 | 61 76 65 20 48 65 6c 70 | the "Le|ave Help|
|00001f10| 22 20 62 75 74 74 6f 6e | 2e 0d 70 75 73 68 20 72 |" button|..push r|
|00001f20| 65 63 65 6e 74 20 63 61 | 72 64 0d 70 6f 70 20 63 |ecent ca|rd.pop c|
|00001f30| 61 72 64 20 69 6e 74 6f | 20 74 68 65 43 61 72 64 |ard into| theCard|
|00001f40| 0d 73 74 6f 72 65 48 65 | 6c 70 49 6e 66 6f 20 31 |.storeHe|lpInfo 1|
|00001f50| 2c 74 68 65 43 61 72 64 | 20 2d 2d 20 70 61 74 68 |,theCard| -- path|
|00001f60| 20 6f 66 20 74 68 65 20 | 72 65 74 75 72 6e 20 63 | of the |return c|
|00001f70| 61 72 64 0d 65 6e 64 20 | 73 74 6f 72 65 4d 6f 73 |ard.end |storeMos|
|00001f80| 74 52 65 63 65 6e 74 43 | 61 72 64 0d 0d 6f 6e 20 |tRecentC|ard..on |
|00001f90| 73 65 6c 65 63 74 57 68 | 6f 6c 65 4c 69 6e 65 20 |selectWh|oleLine |
|00001fa0| 4e 2c 74 68 65 46 69 65 | 6c 64 2c 6e 65 78 74 4e |N,theFie|ld,nextN|
|00001fb0| 0d 2d 2d 20 54 68 69 73 | 20 68 61 6e 64 6c 65 72 |.-- This| handler|
|00001fc0| 20 73 65 6c 65 63 74 73 | 20 61 20 77 68 6f 6c 65 | selects| a whole|
|00001fd0| 20 6c 69 6e 65 20 6f 66 | 20 74 65 78 74 2c 20 69 | line of| text, i|
|00001fe0| 6e 63 6c 75 64 69 6e 67 | 20 74 68 65 20 66 69 6e |ncluding| the fin|
|00001ff0| 61 6c 0d 2d 2d 20 72 65 | 74 75 72 6e 20 63 68 61 |al.-- re|turn cha|
|00002000| 72 61 63 74 65 72 2c 20 | 69 6e 20 74 68 65 20 66 |racter, |in the f|
|00002010| 69 65 6c 64 2e 0d 2d 2d | 20 4e 20 69 73 20 61 6e |ield..--| N is an|
|00002020| 20 69 6e 74 65 67 65 72 | 2c 20 74 68 65 20 6e 75 | integer|, the nu|
|00002030| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 6c 69 6e 65 |mber of |the line|
|00002040| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 73 65 6c | you wan|t to sel|
|00002050| 65 63 74 2e 0d 2d 2d 20 | 74 68 65 46 69 65 6c 64 |ect..-- |theField|
|00002060| 20 69 73 20 61 20 63 6f | 6d 70 6c 65 74 65 20 66 | is a co|mplete f|
|00002070| 69 65 6c 64 20 72 65 63 | 6f 72 64 20 61 73 20 69 |ield rec|ord as i|
|00002080| 6e 20 d2 74 68 65 20 74 | 61 72 67 65 74 2c d3 20 |n .the t|arget,. |
|00002090| 6e 6f 74 20 6a 75 73 74 | 0d 2d 2d 20 74 68 65 20 |not just|.-- the |
|000020a0| 66 69 65 6c 64 20 6e 61 | 6d 65 2e 0d 2d 2d 20 69 |field na|me..-- i|
|000020b0| 66 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 73 65 |f you wa|nt to se|
|000020c0| 6c 65 63 74 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |lect mor|e than o|
|000020d0| 6e 65 20 6c 69 6e 65 2c | 20 70 75 74 20 74 68 65 |ne line,| put the|
|000020e0| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 20 69 6e 74 | line nu|mber int|
|000020f0| 6f 0d 2d 2d 20 6e 65 78 | 74 4e 2e 0d 69 66 20 6e |o.-- nex|tN..if n|
|00002100| 65 78 74 4e 20 69 73 20 | 65 6d 70 74 79 20 74 68 |extN is |empty th|
|00002110| 65 6e 20 70 75 74 20 4e | 20 69 6e 74 6f 20 6e 65 |en put N| into ne|
|00002120| 78 74 4e 0d 70 75 74 20 | 6c 69 6e 65 20 4e 20 74 |xtN.put |line N t|
|00002130| 6f 20 6e 65 78 74 4e 20 | 6f 66 20 74 68 65 20 76 |o nextN |of the v|
|00002140| 61 6c 75 65 20 6f 66 20 | 74 68 65 46 69 65 6c 64 |alue of |theField|
|00002150| 20 69 6e 74 6f 20 74 68 | 65 54 65 78 74 0d 69 66 | into th|eText.if|
|00002160| 20 74 68 65 54 65 78 74 | 20 69 73 20 6e 6f 74 20 | theText| is not |
|00002170| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 28 |empty th|en.put (|
|00002180| 6e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 73 20 |number o|f chars |
|00002190| 6f 66 20 6c 69 6e 65 20 | 31 20 74 6f 20 6e 65 78 |of line |1 to nex|
|000021a0| 74 4e 20 6f 66 20 74 68 | 65 20 76 61 6c 75 65 20 |tN of th|e value |
|000021b0| 6f 66 20 74 68 65 46 69 | 65 6c 64 29 20 2b 20 31 |of theFi|eld) + 1|
|000021c0| 20 c2 0d 69 6e 74 6f 20 | 65 6e 64 43 68 61 72 0d | ..into |endChar.|
|000021d0| 73 65 6c 65 63 74 20 65 | 6d 70 74 79 0d 64 6f 20 |select e|mpty.do |
|000021e0| 22 73 65 6c 65 63 74 20 | 63 68 61 72 20 28 65 6e |"select |char (en|
|000021f0| 64 43 68 61 72 20 2d 20 | 6c 65 6e 67 74 68 28 74 |dChar - |length(t|
|00002200| 68 65 54 65 78 74 29 29 | 20 74 6f 20 65 6e 64 43 |heText))| to endC|
|00002210| 68 61 72 20 6f 66 22 20 | c2 0d 26 26 20 74 68 65 |har of" |..&& the|
|00002220| 46 69 65 6c 64 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Field.en|d if.end|
|00002230| 20 73 65 6c 65 63 74 57 | 68 6f 6c 65 4c 69 6e 65 | selectW|holeLine|
|00002240| 0d 0d 6f 6e 20 6d 65 6e | 75 52 65 73 65 74 0d 67 |..on men|uReset.g|
|00002250| 6c 6f 62 61 6c 20 49 73 | 61 53 6f 75 6e 64 53 74 |lobal Is|aSoundSt|
|00002260| 61 63 6b 2c 69 6e 76 6f | 6b 65 4d 49 74 65 6d 2c |ack,invo|keMItem,|
|00002270| 68 65 6c 70 4d 49 74 65 | 6d 2c 48 43 45 64 69 74 |helpMIte|m,HCEdit|
|00002280| 4d 65 6e 75 49 74 65 6d | 73 0d 69 66 20 6c 61 73 |MenuItem|s.if las|
|00002290| 74 20 6d 65 6e 75 49 74 | 65 6d 20 6f 66 20 6d 65 |t menuIt|em of me|
|000022a0| 6e 75 20 33 20 69 73 20 | 22 2d 22 20 74 68 65 6e |nu 3 is |"-" then|
|000022b0| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 6d 65 6e | delete |last men|
|000022c0| 75 49 74 65 6d 20 6f 66 | 20 6d 65 6e 75 20 33 0d |uItem of| menu 3.|
|000022d0| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 74 20 |if there| is not |
|000022e0| 61 20 6d 65 6e 75 49 74 | 65 6d 20 69 6e 76 6f 6b |a menuIt|em invok|
|000022f0| 65 4d 49 74 65 6d 20 69 | 6e 20 6d 65 6e 75 20 33 |eMItem i|n menu 3|
|00002300| 20 74 68 65 6e 0d 70 75 | 74 20 72 65 74 75 72 6e | then.pu|t return|
|00002310| 20 69 6e 74 6f 20 63 72 | 0d 70 75 74 20 22 2d 22 | into cr|.put "-"|
|00002320| 26 63 72 26 69 6e 76 6f | 6b 65 4d 49 74 65 6d 26 |&cr&invo|keMItem&|
|00002330| 63 72 26 68 65 6c 70 4d | 49 74 65 6d 20 61 66 74 |cr&helpM|Item aft|
|00002340| 65 72 c2 0d 6d 65 6e 75 | 20 33 20 77 69 74 68 20 |er..menu| 3 with |
|00002350| 6d 65 6e 75 4d 73 67 73 | 20 63 72 26 22 41 50 69 |menuMsgs| cr&"APi|
|00002360| 6e 76 6f 6b 65 22 26 63 | 72 26 22 41 50 68 65 6c |nvoke"&c|r&"APhel|
|00002370| 70 22 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 6d 65 |p".end i|f.put me|
|00002380| 6e 75 20 33 20 69 6e 74 | 6f 20 48 43 45 64 69 74 |nu 3 int|o HCEdit|
|00002390| 4d 65 6e 75 49 74 65 6d | 73 0d 69 66 20 49 73 41 |MenuItem|s.if IsA|
|000023a0| 53 6f 75 6e 64 53 74 61 | 63 6b 20 74 68 65 6e 20 |SoundSta|ck then |
|000023b0| 55 70 64 61 74 65 41 6e | 6e 6f 74 65 4d 65 6e 75 |UpdateAn|noteMenu|
|000023c0| 73 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |s.if the|re is a |
|000023d0| 6d 65 6e 75 69 74 65 6d | 20 68 65 6c 70 4d 49 74 |menuitem| helpMIt|
|000023e0| 65 6d 20 69 6e 20 6d 65 | 6e 75 20 33 20 74 68 65 |em in me|nu 3 the|
|000023f0| 6e 0d 73 65 74 20 74 68 | 65 20 63 68 65 63 6b 6d |n.set th|e checkm|
|00002400| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|00002410| 68 65 6c 70 4d 49 74 65 | 6d 20 69 6e 20 6d 65 6e |helpMIte|m in men|
|00002420| 75 20 33 20 74 6f c2 0d | 28 74 68 65 20 6e 61 6d |u 3 to..|(the nam|
|00002430| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00002440| 3d 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 6d 65 |= the na|me of me|
|00002450| 29 0d 65 6e 64 20 69 66 | 0d 69 66 20 28 74 68 65 |).end if|.if (the|
|00002460| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00002470| 61 63 6b 20 3d 20 74 68 | 65 20 6e 61 6d 65 20 6f |ack = th|e name o|
|00002480| 66 20 6d 65 29 20 74 68 | 65 6e 0d 43 72 65 61 74 |f me) th|en.Creat|
|00002490| 65 48 65 6c 70 4d 65 6e | 75 0d 73 65 6e 64 20 22 |eHelpMen|u.send "|
|000024a0| 73 65 74 43 68 65 63 6b | 4d 61 72 6b 20 74 72 75 |setCheck|Mark tru|
|000024b0| 65 22 20 74 6f 20 74 68 | 69 73 20 63 61 72 64 0d |e" to th|is card.|
|000024c0| 65 6e 64 20 69 66 0d 70 | 61 73 73 20 6d 65 6e 75 |end if.p|ass menu|
|000024d0| 52 65 73 65 74 0d 65 6e | 64 20 6d 65 6e 75 52 65 |Reset.en|d menuRe|
|000024e0| 73 65 74 0d 0d 2d 2d 2d | 2d 2d 20 20 46 6f 6e 74 |set..---|-- Font|
|000024f0| 20 41 64 6a 75 73 74 6d | 65 6e 74 20 53 63 72 69 | Adjustm|ent Scri|
|00002500| 70 74 73 3a 20 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |pts: --|--------|
|00002510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002520| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0d 6f 6e 20 63 68 65 |--------|..on che|
|00002530| 63 6b 46 6f 72 4d 69 73 | 73 69 6e 67 46 6f 6e 74 |ckForMis|singFont|
|00002540| 73 0d 2d 2d 20 63 68 65 | 63 6b 20 74 6f 20 73 65 |s.-- che|ck to se|
|00002550| 65 20 69 66 20 74 68 65 | 20 66 6f 6e 74 73 20 6e |e if the| fonts n|
|00002560| 65 65 64 65 64 20 66 6f | 72 20 74 68 69 73 20 73 |eeded fo|r this s|
|00002570| 74 61 63 6b 20 61 72 65 | 0d 2d 2d 20 69 6e 73 74 |tack are|.-- inst|
|00002580| 61 6c 6c 65 64 20 69 6e | 20 74 68 65 20 73 79 73 |alled in| the sys|
|00002590| 74 65 6d 2e 20 49 6e 66 | 6f 72 6d 20 74 68 65 20 |tem. Inf|orm the |
|000025a0| 75 73 65 72 20 69 66 20 | 74 68 65 79 27 72 65 20 |user if |they're |
|000025b0| 6e 6f 74 2e 0d 67 6c 6f | 62 61 6c 20 41 50 46 6f |not..glo|bal APFo|
|000025c0| 6e 74 73 43 68 65 63 6b | 65 64 0d 69 66 20 41 50 |ntsCheck|ed.if AP|
|000025d0| 46 6f 6e 74 73 43 68 65 | 63 6b 65 64 20 69 73 20 |FontsChe|cked is |
|000025e0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 |not empt|y then e|
|000025f0| 78 69 74 20 63 68 65 63 | 6b 46 6f 72 4d 69 73 73 |xit chec|kForMiss|
|00002600| 69 6e 67 46 6f 6e 74 73 | 20 2d 2d 20 61 6c 72 65 |ingFonts| -- alre|
|00002610| 61 64 79 20 62 65 65 6e | 20 68 65 72 65 2e 0d 70 |ady been| here..p|
|00002620| 75 74 20 22 66 6f 6e 74 | 73 20 63 68 65 63 6b 65 |ut "font|s checke|
|00002630| 64 2e 22 20 69 6e 74 6f | 20 41 50 46 6f 6e 74 73 |d." into| APFonts|
|00002640| 43 68 65 63 6b 65 64 0d | 70 75 74 20 65 6d 70 74 |Checked.|put empt|
|00002650| 79 20 69 6e 74 6f 20 6d | 69 73 73 69 6e 67 0d 69 |y into m|issing.i|
|00002660| 66 20 6e 6f 74 20 46 6f | 6e 74 45 78 69 73 74 73 |f not Fo|ntExists|
|00002670| 28 22 50 61 6c 61 74 69 | 6e 6f 22 2c 31 32 29 20 |("Palati|no",12) |
|00002680| 74 68 65 6e 20 70 75 74 | 20 22 50 61 6c 61 74 69 |then put| "Palati|
|00002690| 6e 6f 20 31 32 22 20 26 | 20 72 65 74 75 72 6e 20 |no 12" &| return |
|000026a0| 61 66 74 65 72 20 6d 69 | 73 73 69 6e 67 20 20 2d |after mi|ssing -|
|000026b0| 2d c6 0d 69 66 20 6e 6f | 74 20 46 6f 6e 74 45 78 |-..if no|t FontEx|
|000026c0| 69 73 74 73 28 22 50 61 | 6c 61 74 69 6e 6f 22 2c |ists("Pa|latino",|
|000026d0| 31 34 29 20 74 68 65 6e | 20 70 75 74 20 22 50 61 |14) then| put "Pa|
|000026e0| 6c 61 74 69 6e 6f 20 31 | 34 22 20 26 20 72 65 74 |latino 1|4" & ret|
|000026f0| 75 72 6e 20 61 66 74 65 | 72 20 6d 69 73 73 69 6e |urn afte|r missin|
|00002700| 67 20 20 2d 2d c6 0d 69 | 66 20 6e 6f 74 20 46 6f |g --..i|f not Fo|
|00002710| 6e 74 45 78 69 73 74 73 | 28 22 48 65 6c 76 65 74 |ntExists|("Helvet|
|00002720| 69 63 61 22 2c 31 38 29 | 20 74 68 65 6e 20 70 75 |ica",18)| then pu|
|00002730| 74 20 22 48 65 6c 76 65 | 74 69 63 61 20 31 38 22 |t "Helve|tica 18"|
|00002740| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00002750| 6d 69 73 73 69 6e 67 20 | 20 2d 2d c6 0d 69 66 20 |missing | --..if |
|00002760| 6d 69 73 73 69 6e 67 20 | 69 73 20 65 6d 70 74 79 |missing |is empty|
|00002770| 20 74 68 65 6e 20 65 78 | 69 74 20 63 68 65 63 6b | then ex|it check|
|00002780| 46 6f 72 4d 69 73 73 69 | 6e 67 46 6f 6e 74 73 0d |ForMissi|ngFonts.|
|00002790| 62 65 65 70 0d 61 6e 73 | 77 65 72 20 22 54 68 65 |beep.ans|wer "The|
|000027a0| 73 65 20 66 6f 6e 74 28 | 73 29 20 61 72 65 20 6d |se font(|s) are m|
|000027b0| 69 73 73 69 6e 67 20 66 | 72 6f 6d 20 79 6f 75 72 |issing f|rom your|
|000027c0| 20 73 79 73 74 65 6d 3a | 22 20 26 20 c2 0d 72 65 | system:|" & ..re|
|000027d0| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 26 20 |turn & r|eturn & |
|000027e0| 6d 69 73 73 69 6e 67 20 | 26 20 72 65 74 75 72 6e |missing |& return|
|000027f0| 20 26 20 22 46 6f 72 20 | 74 65 78 74 20 74 6f 20 | & "For |text to |
|00002800| 64 69 73 70 6c 61 79 20 | 63 6f 72 72 65 63 74 6c |display |correctl|
|00002810| 79 22 c2 0d 26 26 20 22 | 69 6e 20 74 68 65 20 41 |y"..&& "|in the A|
|00002820| 75 64 69 6f 20 48 65 6c | 70 20 73 74 61 63 6b 2c |udio Hel|p stack,|
|00002830| 20 6d 61 6b 65 20 73 75 | 72 65 20 79 6f 75 20 68 | make su|re you h|
|00002840| 61 76 65 20 69 6e 73 74 | 61 6c 6c 65 64 20 74 68 |ave inst|alled th|
|00002850| 65 73 65 20 66 6f 6e 74 | 73 2e 22 20 2d 2d 20 c6 |ese font|s." -- .|
|00002860| 0d 65 6e 64 20 63 68 65 | 63 6b 46 6f 72 4d 69 73 |.end che|ckForMis|
|00002870| 73 69 6e 67 46 6f 6e 74 | 73 0d 0d 2d 2d 2d 2d 2d |singFont|s..-----|
|00002880| 2d a5 a5 20 20 47 45 4e | 45 52 41 4c 20 46 55 4e |-.. GEN|ERAL FUN|
|00002890| 43 54 49 4f 4e 20 48 41 | 4e 44 4c 45 52 53 20 20 |CTION HA|NDLERS |
|000028a0| a5 a5 2d 2d 2d 2d 2d 2d | 0d 0d 66 75 6e 63 74 69 |..------|..functi|
|000028b0| 6f 6e 20 73 74 61 63 6b | 49 73 42 65 69 6e 67 55 |on stack|IsBeingU|
|000028c0| 73 65 64 0d 2d 2d 20 49 | 66 20 41 75 64 69 6f 20 |sed.-- I|f Audio |
|000028d0| 48 65 6c 70 20 69 73 20 | 62 65 69 6e 67 20 75 73 |Help is |being us|
|000028e0| 65 64 20 62 79 20 74 68 | 65 20 61 63 74 69 76 65 |ed by th|e active|
|000028f0| 20 73 74 61 63 6b 2c 20 | 74 68 65 6e 20 72 65 74 | stack, |then ret|
|00002900| 75 72 6e 20 74 72 75 65 | 2e 0d 72 65 74 75 72 6e |urn true|..return|
|00002910| 20 6e 6f 74 20 28 74 68 | 65 20 6e 61 6d 65 20 6f | not (th|e name o|
|00002920| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 73 20 |f this s|tack is |
|00002930| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 6d 65 29 0d |the name| of me).|
|00002940| 65 6e 64 20 73 74 61 63 | 6b 49 73 42 65 69 6e 67 |end stac|kIsBeing|
|00002950| 55 73 65 64 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 72 |Used..fu|nction r|
|00002960| 65 61 6c 54 6f 70 69 63 | 4e 61 6d 65 0d 2d 2d 20 |ealTopic|Name.-- |
|00002970| 52 65 74 75 72 6e 20 74 | 68 65 20 61 63 74 75 61 |Return t|he actua|
|00002980| 6c 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 63 75 |l name o|f the cu|
|00002990| 72 72 65 6e 74 20 74 6f | 70 69 63 20 65 76 65 6e |rrent to|pic even|
|000029a0| 20 69 66 0d 2d 2d 20 74 | 68 65 20 75 73 65 72 20 | if.-- t|he user |
|000029b0| 69 73 20 6f 6e 20 61 20 | d2 63 6f 6e 74 69 6e 75 |is on a |.continu|
|000029c0| 65 64 d3 20 63 61 72 64 | 2e 0d 69 66 20 74 68 65 |ed. card|..if the|
|000029d0| 72 65 20 69 73 20 6e 6f | 74 20 61 20 62 6b 67 6e |re is no|t a bkgn|
|000029e0| 64 20 66 69 65 6c 64 20 | 22 50 61 67 65 73 22 20 |d field |"Pages" |
|000029f0| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 65 6d 70 74 |then ret|urn empt|
|00002a00| 79 0d 2d 2d 20 c6 20 54 | 68 69 73 20 72 6f 75 74 |y.-- . T|his rout|
|00002a10| 69 6e 65 20 64 65 70 65 | 6e 64 73 20 6f 6e 20 22 |ine depe|nds on "|
|00002a20| 43 61 72 64 20 58 20 6f | 66 20 59 22 20 66 6f 72 |Card X o|f Y" for|
|00002a30| 6d 61 74 20 69 6e 20 74 | 68 65 20 66 69 65 6c 64 |mat in t|he field|
|00002a40| 0d 70 75 74 20 77 6f 72 | 64 20 32 20 6f 66 20 62 |.put wor|d 2 of b|
|00002a50| 6b 67 6e 64 20 66 69 65 | 6c 64 20 22 50 61 67 65 |kgnd fie|ld "Page|
|00002a60| 73 22 20 69 6e 74 6f 20 | 63 75 72 72 65 6e 74 50 |s" into |currentP|
|00002a70| 61 67 65 0d 67 65 74 20 | 74 68 65 20 6e 75 6d 62 |age.get |the numb|
|00002a80| 65 72 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 0d |er of th|is card.|
|00002a90| 70 75 74 20 62 6b 67 6e | 64 20 66 69 65 6c 64 20 |put bkgn|d field |
|00002aa0| 22 54 69 74 6c 65 22 20 | c2 0d 6f 66 20 63 61 72 |"Title" |..of car|
|00002ab0| 64 20 28 69 74 20 2d 20 | 63 75 72 72 65 6e 74 50 |d (it - |currentP|
|00002ac0| 61 67 65 20 2b 20 31 29 | 20 69 6e 74 6f 20 74 6f |age + 1)| into to|
|00002ad0| 70 69 63 4e 61 6d 65 0d | 69 66 20 6e 75 6d 62 65 |picName.|if numbe|
|00002ae0| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 74 6f |r of lin|es in to|
|00002af0| 70 69 63 4e 61 6d 65 20 | 3e 20 31 20 74 68 65 6e |picName |> 1 then|
|00002b00| 0d 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 32 20 6f |.delete |line 2 o|
|00002b10| 66 20 74 6f 70 69 63 4e | 61 6d 65 0d 70 75 74 20 |f topicN|ame.put |
|00002b20| 22 c9 22 20 61 66 74 65 | 72 20 74 6f 70 69 63 4e |"." afte|r topicN|
|00002b30| 61 6d 65 20 2d 2d 20 c6 | 0d 65 6e 64 20 69 66 0d |ame -- .|.end if.|
|00002b40| 69 66 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |if numbe|r of cha|
|00002b50| 72 73 20 69 6e 20 74 6f | 70 69 63 4e 61 6d 65 20 |rs in to|picName |
|00002b60| 3e 20 31 39 20 74 68 65 | 6e 0d 70 75 74 20 63 68 |> 19 the|n.put ch|
|00002b70| 61 72 20 31 20 74 6f 20 | 31 39 20 6f 66 20 74 6f |ar 1 to |19 of to|
|00002b80| 70 69 63 4e 61 6d 65 20 | 69 6e 74 6f 20 74 6f 70 |picName |into top|
|00002b90| 69 63 4e 61 6d 65 0d 69 | 66 20 22 c9 22 20 69 73 |icName.i|f "." is|
|00002ba0| 20 6e 6f 74 20 69 6e 20 | 74 6f 70 69 63 4e 61 6d | not in |topicNam|
|00002bb0| 65 20 74 68 65 6e 20 70 | 75 74 20 22 c9 22 20 61 |e then p|ut "." a|
|00002bc0| 66 74 65 72 20 74 6f 70 | 69 63 4e 61 6d 65 20 2d |fter top|icName -|
|00002bd0| 2d 20 c6 0d 65 6e 64 20 | 69 66 0d 72 65 74 75 72 |- ..end |if.retur|
|00002be0| 6e 20 74 6f 70 69 63 4e | 61 6d 65 0d 65 6e 64 20 |n topicN|ame.end |
|00002bf0| 72 65 61 6c 54 6f 70 69 | 63 4e 61 6d 65 0d 0d 66 |realTopi|cName..f|
|00002c00| 75 6e 63 74 69 6f 6e 20 | 74 72 75 6e 63 61 74 65 |unction |truncate|
|00002c10| 4e 61 6d 65 20 74 68 65 | 54 65 78 74 0d 2d 2d 20 |Name the|Text.-- |
|00002c20| 52 65 6d 6f 76 65 73 20 | 73 70 61 63 65 73 20 66 |Removes |spaces f|
|00002c30| 72 6f 6d 20 61 20 63 61 | 72 64 20 6e 61 6d 65 2c |rom a ca|rd name,|
|00002c40| 20 74 72 75 6e 63 61 74 | 65 73 20 69 74 2c 20 61 | truncat|es it, a|
|00002c50| 6e 64 20 72 65 6d 6f 76 | 65 73 0d 2d 2d 20 61 6e |nd remov|es.-- an|
|00002c60| 79 20 73 70 61 63 65 73 | 20 61 67 61 69 6e 2e 20 |y spaces| again. |
|00002c70| 59 6f 75 20 73 68 6f 75 | 6c 64 20 73 65 74 20 74 |You shou|ld set t|
|00002c80| 68 65 20 6e 61 6d 65 20 | 6f 66 20 61 6c 6c 20 74 |he name |of all t|
|00002c90| 68 65 20 63 61 72 64 73 | 20 77 69 74 68 0d 2d 2d |he cards| with.--|
|00002ca0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 2e 0d | this fu|nction..|
|00002cb0| 67 65 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |get the |number o|
|00002cc0| 66 20 77 6f 72 64 73 20 | 69 6e 20 74 68 65 54 65 |f words |in theTe|
|00002cd0| 78 74 0d 70 75 74 20 77 | 6f 72 64 20 31 20 74 6f |xt.put w|ord 1 to|
|00002ce0| 20 69 74 20 6f 66 20 74 | 68 65 54 65 78 74 20 69 | it of t|heText i|
|00002cf0| 6e 74 6f 20 74 68 65 43 | 61 72 64 0d 72 65 74 75 |nto theC|ard.retu|
|00002d00| 72 6e 20 63 68 61 72 20 | 31 20 74 6f 20 32 38 20 |rn char |1 to 28 |
|00002d10| 6f 66 20 74 68 65 43 61 | 72 64 0d 65 6e 64 20 74 |of theCa|rd.end t|
|00002d20| 72 75 6e 63 61 74 65 4e | 61 6d 65 0d 0d 2d 2d 2d |runcateN|ame..---|
|00002d30| 2d 2d 2d a5 a5 20 20 53 | 43 52 49 50 54 53 20 46 |---.. S|CRIPTS F|
|00002d40| 4f 52 20 48 41 4e 44 4c | 49 4e 47 20 54 48 45 20 |OR HANDL|ING THE |
|00002d50| 41 55 44 49 4f 20 50 41 | 4c 45 54 54 45 20 20 a5 |AUDIO PA|LETTE .|
|00002d60| a5 2d 2d 2d 2d 2d 2d 0d | 0d 2d 2d 73 79 73 74 65 |.------.|.--syste|
|00002d70| 6d 20 6d 65 73 73 61 67 | 65 20 68 61 6e 64 6c 65 |m messag|e handle|
|00002d80| 72 73 0d 6f 6e 20 73 61 | 76 65 53 65 6c 65 63 74 |rs.on sa|veSelect|
|00002d90| 69 6f 6e 0d 67 6c 6f 62 | 61 6c 20 53 61 76 65 53 |ion.glob|al SaveS|
|00002da0| 65 6c 65 63 74 2c 53 61 | 76 65 4c 69 6e 65 2c 53 |elect,Sa|veLine,S|
|00002db0| 61 76 65 4c 6f 63 0d 70 | 75 74 20 65 6d 70 74 79 |aveLoc.p|ut empty|
|00002dc0| 20 69 6e 74 6f 20 73 61 | 76 65 53 65 6c 65 63 74 | into sa|veSelect|
|00002dd0| 0d 43 68 65 63 6b 53 61 | 76 65 53 65 6c 65 63 74 |.CheckSa|veSelect|
|00002de0| 0d 65 6e 64 20 73 61 76 | 65 53 65 6c 65 63 74 69 |.end sav|eSelecti|
|00002df0| 6f 6e 0d 0d 6f 6e 20 43 | 68 65 63 6b 53 61 76 65 |on..on C|heckSave|
|00002e00| 53 65 6c 65 63 74 0d 67 | 6c 6f 62 61 6c 20 53 61 |Select.g|lobal Sa|
|00002e10| 76 65 53 65 6c 65 63 74 | 2c 53 61 76 65 4c 69 6e |veSelect|,SaveLin|
|00002e20| 65 2c 53 61 76 65 4c 6f | 63 0d 69 66 20 74 68 65 |e,SaveLo|c.if the|
|00002e30| 72 65 20 69 73 20 61 20 | 66 69 65 6c 64 20 22 6e |re is a |field "n|
|00002e40| 6f 74 65 73 22 20 74 68 | 65 6e 20 70 75 74 20 74 |otes" th|en put t|
|00002e50| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 66 69 65 |he numbe|r of fie|
|00002e60| 6c 64 20 22 6e 6f 74 65 | 73 22 20 69 6e 74 6f 20 |ld "note|s" into |
|00002e70| 4e 6f 74 65 46 69 65 6c | 64 0d 67 65 74 20 74 68 |NoteFiel|d.get th|
|00002e80| 65 20 73 65 6c 65 63 74 | 65 64 43 68 75 6e 6b 0d |e select|edChunk.|
|00002e90| 69 66 20 69 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |if it is| not emp|
|00002ea0| 74 79 20 61 6e 64 20 22 | 6d 65 73 73 61 67 65 20 |ty and "|message |
|00002eb0| 62 6f 78 22 20 69 73 20 | 6e 6f 74 20 69 6e 20 69 |box" is |not in i|
|00002ec0| 74 20 61 6e 64 20 c2 0d | 77 6f 72 64 20 36 20 74 |t and ..|word 6 t|
|00002ed0| 6f 20 38 20 6f 66 20 69 | 74 20 69 73 20 6e 6f 74 |o 8 of i|t is not|
|00002ee0| 20 22 62 6b 67 6e 64 20 | 66 69 65 6c 64 22 20 26 | "bkgnd |field" &|
|00002ef0| 26 20 4e 6f 74 65 46 69 | 65 6c 64 20 74 68 65 6e |& NoteFi|eld then|
|00002f00| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 53 61 76 |.put it |into Sav|
|00002f10| 65 53 65 6c 65 63 74 0d | 70 75 74 20 74 68 65 20 |eSelect.|put the |
|00002f20| 73 65 6c 65 63 74 65 64 | 4c 69 6e 65 20 69 6e 74 |selected|Line int|
|00002f30| 6f 20 53 61 76 65 4c 69 | 6e 65 0d 70 75 74 20 74 |o SaveLi|ne.put t|
|00002f40| 68 65 20 73 65 6c 65 63 | 74 65 64 4c 6f 63 20 69 |he selec|tedLoc i|
|00002f50| 6e 74 6f 20 53 61 76 65 | 4c 6f 63 0d 73 65 74 20 |nto Save|Loc.set |
|00002f60| 74 68 65 20 74 65 78 74 | 73 74 79 6c 65 20 6f 66 |the text|style of|
|00002f70| 20 53 61 76 65 53 65 6c | 65 63 74 20 74 6f 20 62 | SaveSel|ect to b|
|00002f80| 6f 6c 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 43 |old.end |if.end C|
|00002f90| 68 65 63 6b 53 61 76 65 | 53 65 6c 65 63 74 0d 0d |heckSave|Select..|
|00002fa0| 6f 6e 20 61 70 43 6c 6f | 73 65 0d 67 6c 6f 62 61 |on apClo|se.globa|
|00002fb0| 6c 20 53 61 76 65 53 65 | 6c 65 63 74 2c 49 6e 76 |l SaveSe|lect,Inv|
|00002fc0| 6f 6b 65 4d 49 74 65 6d | 0d 69 66 20 73 61 76 65 |okeMItem|.if save|
|00002fd0| 53 65 6c 65 63 74 20 ad | 20 65 6d 70 74 79 20 74 |Select .| empty t|
|00002fe0| 68 65 6e 0d 69 66 20 74 | 68 65 20 74 65 78 74 73 |hen.if t|he texts|
|00002ff0| 74 79 6c 65 20 6f 66 20 | 73 61 76 65 53 65 6c 65 |tyle of |saveSele|
|00003000| 63 74 20 69 73 20 62 6f | 6c 64 20 74 68 65 6e 20 |ct is bo|ld then |
|00003010| 73 65 74 20 74 68 65 20 | 74 65 78 74 73 74 79 6c |set the |textstyl|
|00003020| 65 20 6f 66 20 73 61 76 | 65 53 65 6c 65 63 74 20 |e of sav|eSelect |
|00003030| 74 6f 20 70 6c 61 69 6e | 0d 65 6e 64 20 69 66 0d |to plain|.end if.|
|00003040| 70 61 73 73 20 61 70 43 | 6c 6f 73 65 0d 65 6e 64 |pass apC|lose.end|
|00003050| 20 61 70 43 6c 6f 73 65 | 0d 0d 6f 6e 20 6f 70 65 | apClose|..on ope|
|00003060| 6e 43 61 72 64 0d 67 6c | 6f 62 61 6c 20 49 73 41 |nCard.gl|obal IsA|
|00003070| 53 6f 75 6e 64 53 74 61 | 63 6b 0d 69 66 20 6e 6f |SoundSta|ck.if no|
|00003080| 74 20 49 73 41 53 6f 75 | 6e 64 53 74 61 63 6b 20 |t IsASou|ndStack |
|00003090| 74 68 65 6e 20 70 61 73 | 73 20 6f 70 65 6e 43 61 |then pas|s openCa|
|000030a0| 72 64 0d 73 65 74 20 74 | 68 65 20 63 75 72 73 6f |rd.set t|he curso|
|000030b0| 72 20 74 6f 20 77 61 74 | 63 68 0d 72 65 73 65 74 |r to wat|ch.reset|
|000030c0| 41 50 42 75 74 74 6f 6e | 73 0d 70 61 73 73 20 6f |APButton|s.pass o|
|000030d0| 70 65 6e 43 61 72 64 0d | 65 6e 64 20 6f 70 65 6e |penCard.|end open|
|000030e0| 43 61 72 64 0d 0d 6f 6e | 20 63 6c 6f 73 65 43 61 |Card..on| closeCa|
|000030f0| 72 64 0d 67 6c 6f 62 61 | 6c 20 49 73 41 53 6f 75 |rd.globa|l IsASou|
|00003100| 6e 64 53 74 61 63 6b 2c | 73 61 76 65 53 65 6c 65 |ndStack,|saveSele|
|00003110| 63 74 0d 69 66 20 6e 6f | 74 20 49 73 41 53 6f 75 |ct.if no|t IsASou|
|00003120| 6e 64 53 74 61 63 6b 20 | 74 68 65 6e 20 70 61 73 |ndStack |then pas|
|00003130| 73 20 63 6c 6f 73 65 43 | 61 72 64 0d 69 66 20 73 |s closeC|ard.if s|
|00003140| 61 76 65 53 65 6c 65 63 | 74 20 ad 20 65 6d 70 74 |aveSelec|t . empt|
|00003150| 79 20 74 68 65 6e 0d 69 | 66 20 74 68 65 20 74 65 |y then.i|f the te|
|00003160| 78 74 73 74 79 6c 65 20 | 6f 66 20 73 61 76 65 53 |xtstyle |of saveS|
|00003170| 65 6c 65 63 74 20 69 73 | 20 62 6f 6c 64 20 74 68 |elect is| bold th|
|00003180| 65 6e 20 73 65 74 20 74 | 68 65 20 74 65 78 74 73 |en set t|he texts|
|00003190| 74 79 6c 65 20 6f 66 20 | 73 61 76 65 53 65 6c 65 |tyle of |saveSele|
|000031a0| 63 74 20 74 6f 20 70 6c | 61 69 6e 0d 70 75 74 20 |ct to pl|ain.put |
|000031b0| 65 6d 70 74 79 20 69 6e | 74 6f 20 73 61 76 65 53 |empty in|to saveS|
|000031c0| 65 6c 65 63 74 0d 65 6e | 64 20 69 66 0d 70 61 73 |elect.en|d if.pas|
|000031d0| 73 20 63 6c 6f 73 65 43 | 61 72 64 0d 65 6e 64 20 |s closeC|ard.end |
|000031e0| 63 6c 6f 73 65 43 61 72 | 64 0d 0d 6f 6e 20 6f 70 |closeCar|d..on op|
|000031f0| 65 6e 46 69 65 6c 64 0d | 67 6c 6f 62 61 6c 20 49 |enField.|global I|
|00003200| 73 41 53 6f 75 6e 64 53 | 74 61 63 6b 2c 20 73 61 |sASoundS|tack, sa|
|00003210| 76 65 53 65 6c 65 63 74 | 0d 69 66 20 6e 6f 74 20 |veSelect|.if not |
|00003220| 49 73 41 53 6f 75 6e 64 | 53 74 61 63 6b 20 74 68 |IsASound|Stack th|
|00003230| 65 6e 20 70 61 73 73 20 | 6f 70 65 6e 46 69 65 6c |en pass |openFiel|
|00003240| 64 0d 69 66 20 73 61 76 | 65 53 65 6c 65 63 74 20 |d.if sav|eSelect |
|00003250| ad 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 2d 2d 20 |. empty |then.-- |
|00003260| 67 65 74 20 74 68 65 20 | 73 65 6c 65 63 74 65 64 |get the |selected|
|00003270| 43 68 75 6e 6b 0d 73 65 | 74 20 74 68 65 20 74 65 |Chunk.se|t the te|
|00003280| 78 74 73 74 79 6c 65 20 | 6f 66 20 73 61 76 65 53 |xtstyle |of saveS|
|00003290| 65 6c 65 63 74 20 74 6f | 20 70 6c 61 69 6e 0d 2d |elect to| plain.-|
|000032a0| 2d 20 69 66 20 69 74 20 | 69 73 20 6e 6f 74 20 65 |- if it |is not e|
|000032b0| 6d 70 74 79 20 61 6e 64 | 20 22 6d 65 73 73 61 67 |mpty and| "messag|
|000032c0| 65 20 62 6f 78 22 20 69 | 73 20 6e 6f 74 20 69 6e |e box" i|s not in|
|000032d0| 20 69 74 20 61 6e 64 20 | 22 6e 6f 74 65 73 22 20 | it and |"notes" |
|000032e0| 69 73 20 6e 6f 74 20 69 | 6e 20 69 74 0d 2d 2d 20 |is not i|n it.-- |
|000032f0| 74 68 65 6e 20 70 75 74 | 20 65 6d 70 74 79 20 69 |then put| empty i|
|00003300| 6e 74 6f 20 73 61 76 65 | 53 65 6c 65 63 74 0d 70 |nto save|Select.p|
|00003310| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 73 61 |ut empty| into sa|
|00003320| 76 65 53 65 6c 65 63 74 | 0d 65 6e 64 20 69 66 0d |veSelect|.end if.|
|00003330| 70 61 73 73 20 6f 70 65 | 6e 46 69 65 6c 64 0d 65 |pass ope|nField.e|
|00003340| 6e 64 20 6f 70 65 6e 46 | 69 65 6c 64 0d 0d 6f 6e |nd openF|ield..on|
|00003350| 20 61 70 4f 70 65 6e 53 | 74 61 63 6b 0d 67 6c 6f | apOpenS|tack.glo|
|00003360| 62 61 6c 20 49 73 41 53 | 6f 75 6e 64 53 74 61 63 |bal IsAS|oundStac|
|00003370| 6b 0d 70 75 74 20 28 43 | 68 65 63 6b 49 66 41 70 |k.put (C|heckIfAp|
|00003380| 70 6f 69 6e 74 6d 65 6e | 74 73 28 29 20 6f 72 20 |pointmen|ts() or |
|00003390| 43 68 65 63 6b 49 66 41 | 64 64 72 65 73 73 65 73 |CheckIfA|ddresses|
|000033a0| 28 29 29 20 69 6e 74 6f | 20 49 73 41 53 6f 75 6e |()) into| IsASoun|
|000033b0| 64 53 74 61 63 6b 0d 72 | 65 73 65 74 41 50 4d 65 |dStack.r|esetAPMe|
|000033c0| 6e 75 73 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |nus.if t|here is |
|000033d0| 61 20 77 69 6e 64 6f 77 | 20 22 41 75 64 69 6f 50 |a window| "AudioP|
|000033e0| 61 6c 65 74 74 65 22 0d | 74 68 65 6e 20 73 65 6e |alette".|then sen|
|000033f0| 64 20 22 75 70 64 61 74 | 65 22 20 74 6f 20 77 69 |d "updat|e" to wi|
|00003400| 6e 64 6f 77 20 22 41 75 | 64 69 6f 50 61 6c 65 74 |ndow "Au|dioPalet|
|00003410| 74 65 22 20 2d 2d 72 65 | 62 75 69 6c 64 20 73 6f |te" --re|build so|
|00003420| 75 6e 64 20 70 6f 70 2d | 75 70 0d 65 6e 64 20 61 |und pop-|up.end a|
|00003430| 70 4f 70 65 6e 53 74 61 | 63 6b 0d 0d 66 75 6e 63 |pOpenSta|ck..func|
|00003440| 74 69 6f 6e 20 43 68 65 | 63 6b 49 66 41 70 70 6f |tion Che|ckIfAppo|
|00003450| 69 6e 74 6d 65 6e 74 73 | 0d 2d 2d 20 61 6c 73 6f |intments|.-- also|
|00003460| 20 6d 61 6b 65 73 20 73 | 75 72 65 20 74 68 65 20 | makes s|ure the |
|00003470| 41 70 70 6f 69 6e 74 6d | 65 6e 74 73 20 73 74 61 |Appointm|ents sta|
|00003480| 63 6b 20 68 61 73 20 62 | 65 65 6e 20 6d 6f 64 69 |ck has b|een modi|
|00003490| 66 69 65 64 0d 2d 2d 20 | 74 6f 20 70 61 73 73 20 |fied.-- |to pass |
|000034a0| 6f 70 65 6e 43 61 72 64 | 2c 20 77 68 69 63 68 20 |openCard|, which |
|000034b0| 69 73 20 73 6f 6d 65 74 | 68 69 6e 67 20 77 65 20 |is somet|hing we |
|000034c0| 6e 65 65 64 2e 0d 69 66 | 20 6e 6f 74 20 28 74 68 |need..if| not (th|
|000034d0| 65 72 65 20 69 73 20 61 | 20 62 67 20 49 44 20 32 |ere is a| bg ID 2|
|000034e0| 36 30 33 29 20 74 68 65 | 6e 20 72 65 74 75 72 6e |603) the|n return|
|000034f0| 20 66 61 6c 73 65 20 2d | 2d 20 66 61 73 74 65 72 | false -|- faster|
|00003500| 20 74 68 61 6e 20 22 69 | 73 20 6e 6f 74 20 61 22 | than "i|s not a"|
|00003510| 0d 69 66 20 22 72 65 73 | 65 74 41 50 42 75 74 74 |.if "res|etAPButt|
|00003520| 6f 6e 73 22 20 69 73 20 | 6e 6f 74 20 69 6e 20 74 |ons" is |not in t|
|00003530| 68 65 20 73 63 72 69 70 | 74 20 6f 66 20 62 67 20 |he scrip|t of bg |
|00003540| 49 44 20 32 36 30 33 20 | 74 68 65 6e 20 72 65 74 |ID 2603 |then ret|
|00003550| 75 72 6e 20 66 61 6c 73 | 65 0d 69 66 20 22 70 61 |urn fals|e.if "pa|
|00003560| 73 73 20 6f 70 65 6e 43 | 61 72 64 22 20 69 73 20 |ss openC|ard" is |
|00003570| 6e 6f 74 20 69 6e 20 74 | 68 65 20 73 63 72 69 70 |not in t|he scrip|
|00003580| 74 20 6f 66 20 62 67 20 | 49 44 20 32 31 37 35 33 |t of bg |ID 21753|
|00003590| 20 74 68 65 6e 0d 70 75 | 74 20 73 63 72 69 70 74 | then.pu|t script|
|000035a0| 20 6f 66 20 62 67 20 49 | 44 20 32 31 37 35 33 20 | of bg I|D 21753 |
|000035b0| 69 6e 74 6f 20 54 68 65 | 53 63 72 69 70 74 0d 67 |into The|Script.g|
|000035c0| 65 74 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |et numbe|r of lin|
|000035d0| 65 73 20 69 6e 20 63 68 | 61 72 20 31 20 74 6f 20 |es in ch|ar 1 to |
|000035e0| 6f 66 66 73 65 74 28 72 | 65 74 75 72 6e 20 26 20 |offset(r|eturn & |
|000035f0| 22 65 6e 64 20 6f 70 65 | 6e 43 61 72 64 22 2c 54 |"end ope|nCard",T|
|00003600| 68 65 53 63 72 69 70 74 | 29 c2 0d 6f 66 20 54 68 |heScript|)..of Th|
|00003610| 65 53 63 72 69 70 74 0d | 69 66 20 69 74 20 3d 20 |eScript.|if it = |
|00003620| 30 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 74 72 |0 then r|eturn tr|
|00003630| 75 65 0d 70 75 74 20 72 | 65 74 75 72 6e 20 26 20 |ue.put r|eturn & |
|00003640| 22 70 61 73 73 20 6f 70 | 65 6e 43 61 72 64 22 20 |"pass op|enCard" |
|00003650| 61 66 74 65 72 20 6c 69 | 6e 65 20 69 74 20 6f 66 |after li|ne it of|
|00003660| 20 54 68 65 53 63 72 69 | 70 74 0d 73 65 74 20 74 | TheScri|pt.set t|
|00003670| 68 65 20 73 63 72 69 70 | 74 20 6f 66 20 62 67 20 |he scrip|t of bg |
|00003680| 49 44 20 32 31 37 35 33 | 20 74 6f 20 54 68 65 53 |ID 21753| to TheS|
|00003690| 63 72 69 70 74 0d 65 6e | 64 20 69 66 0d 72 65 74 |cript.en|d if.ret|
|000036a0| 75 72 6e 20 74 72 75 65 | 0d 65 6e 64 20 43 68 65 |urn true|.end Che|
|000036b0| 63 6b 49 66 41 70 70 6f | 69 6e 74 6d 65 6e 74 73 |ckIfAppo|intments|
|000036c0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 43 68 65 63 6b |..functi|on Check|
|000036d0| 49 66 41 64 64 72 65 73 | 73 65 73 0d 69 66 20 6e |IfAddres|ses.if n|
|000036e0| 6f 74 20 28 74 68 65 72 | 65 20 69 73 20 61 20 62 |ot (ther|e is a b|
|000036f0| 67 20 49 44 20 33 36 36 | 34 29 20 74 68 65 6e 20 |g ID 366|4) then |
|00003700| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 20 2d 2d 20 |return f|alse -- |
|00003710| 66 61 73 74 65 72 20 74 | 68 61 6e 20 22 69 73 20 |faster t|han "is |
|00003720| 6e 6f 74 20 61 22 0d 69 | 66 20 22 72 65 73 65 74 |not a".i|f "reset|
|00003730| 41 50 42 75 74 74 6f 6e | 73 22 20 69 73 20 6e 6f |APButton|s" is no|
|00003740| 74 20 69 6e 20 74 68 65 | 20 73 63 72 69 70 74 20 |t in the| script |
|00003750| 6f 66 20 62 67 20 49 44 | 20 33 36 36 34 20 74 68 |of bg ID| 3664 th|
|00003760| 65 6e 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 0d |en retur|n false.|
|00003770| 65 6c 73 65 20 72 65 74 | 75 72 6e 20 74 72 75 65 |else ret|urn true|
|00003780| 0d 65 6e 64 20 43 68 65 | 63 6b 49 66 41 64 64 72 |.end Che|ckIfAddr|
|00003790| 65 73 73 65 73 0d 0d 6f | 6e 20 61 70 43 6c 6f 73 |esses..o|n apClos|
|000037a0| 65 53 74 61 63 6b 0d 67 | 6c 6f 62 61 6c 20 41 50 |eStack.g|lobal AP|
|000037b0| 4d 65 6e 75 4e 61 6d 65 | 2c 20 6d 65 6d 6f 4d 49 |MenuName|, memoMI|
|000037c0| 74 65 6d 2c 64 65 6c 4d | 49 74 65 6d 2c c2 0d 73 |tem,delM|Item,..s|
|000037d0| 68 6f 77 4d 49 74 65 6d | 2c 68 69 64 65 4d 49 74 |howMItem|,hideMIt|
|000037e0| 65 6d 2c 49 73 41 53 6f | 75 6e 64 53 74 61 63 6b |em,IsASo|undStack|
|000037f0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|00003800| 65 6e 75 49 74 65 6d 20 | 68 69 64 65 4d 49 74 65 |enuItem |hideMIte|
|00003810| 6d 20 69 6e 20 6d 65 6e | 75 20 33 20 74 68 65 6e |m in men|u 3 then|
|00003820| 0d 64 65 6c 65 74 65 20 | 6d 65 6e 75 49 74 65 6d |.delete |menuItem|
|00003830| 20 68 69 64 65 4d 49 74 | 65 6d 20 66 72 6f 6d 20 | hideMIt|em from |
|00003840| 6d 65 6e 75 20 33 0d 65 | 6c 73 65 20 69 66 20 74 |menu 3.e|lse if t|
|00003850| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 49 74 |here is |a menuIt|
|00003860| 65 6d 20 73 68 6f 77 4d | 49 74 65 6d 20 69 6e 20 |em showM|Item in |
|00003870| 6d 65 6e 75 20 33 20 74 | 68 65 6e 0d 64 65 6c 65 |menu 3 t|hen.dele|
|00003880| 74 65 20 6d 65 6e 75 49 | 74 65 6d 20 73 68 6f 77 |te menuI|tem show|
|00003890| 4d 49 74 65 6d 20 66 72 | 6f 6d 20 6d 65 6e 75 20 |MItem fr|om menu |
|000038a0| 33 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 72 |3.end if|.if ther|
|000038b0| 65 20 69 73 20 61 20 6d | 65 6e 75 49 74 65 6d 20 |e is a m|enuItem |
|000038c0| 64 65 6c 4d 49 74 65 6d | 20 69 6e 20 6d 65 6e 75 |delMItem| in menu|
|000038d0| 20 33 20 74 68 65 6e 0d | 64 65 6c 65 74 65 20 6d | 3 then.|delete m|
|000038e0| 65 6e 75 49 74 65 6d 20 | 64 65 6c 4d 49 74 65 6d |enuItem |delMItem|
|000038f0| 20 66 72 6f 6d 20 6d 65 | 6e 75 20 33 0d 65 6e 64 | from me|nu 3.end|
|00003900| 20 69 66 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 | if.if t|here is |
|00003910| 61 20 6d 65 6e 75 49 74 | 65 6d 20 6d 65 6d 6f 4d |a menuIt|em memoM|
|00003920| 49 74 65 6d 20 69 6e 20 | 6d 65 6e 75 20 33 20 74 |Item in |menu 3 t|
|00003930| 68 65 6e 0d 64 65 6c 65 | 74 65 20 6d 65 6e 75 49 |hen.dele|te menuI|
|00003940| 74 65 6d 20 6d 65 6d 6f | 4d 49 74 65 6d 20 66 72 |tem memo|MItem fr|
|00003950| 6f 6d 20 6d 65 6e 75 20 | 33 0d 65 6e 64 20 69 66 |om menu |3.end if|
|00003960| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00003970| 49 73 41 53 6f 75 6e 64 | 53 74 61 63 6b 0d 65 6e |IsASound|Stack.en|
|00003980| 64 20 61 70 43 6c 6f 73 | 65 53 74 61 63 6b 0d 0d |d apClos|eStack..|
|00003990| 2d 2d 6d 65 6e 75 20 6d | 65 73 73 61 67 65 20 68 |--menu m|essage h|
|000039a0| 61 6e 64 6c 65 72 73 0d | 6f 6e 20 44 6f 4d 65 6e |andlers.|on DoMen|
|000039b0| 75 20 74 68 65 49 74 65 | 6d 2c 74 68 65 4d 65 6e |u theIte|m,theMen|
|000039c0| 75 0d 67 6c 6f 62 61 6c | 20 41 50 48 61 73 45 64 |u.global| APHasEd|
|000039d0| 69 74 0d 69 66 20 41 50 | 48 61 73 45 64 69 74 20 |it.if AP|HasEdit |
|000039e0| 69 73 20 74 72 75 65 20 | 74 68 65 6e 20 2d 2d 20 |is true |then -- |
|000039f0| 68 61 76 65 20 74 6f 20 | 73 61 79 20 22 69 73 20 |have to |say "is |
|00003a00| 74 72 75 65 22 20 62 65 | 63 61 75 73 65 20 69 74 |true" be|cause it|
|00003a10| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 64 65 66 69 | may not| be defi|
|00003a20| 6e 65 64 0d 69 66 20 77 | 6f 72 64 20 31 20 6f 66 |ned.if w|ord 1 of|
|00003a30| 20 74 68 65 49 74 65 6d | 20 69 73 20 69 6e 20 22 | theItem| is in "|
|00003a40| 55 6e 64 6f 2c 43 75 74 | 2c 43 6f 70 79 2c 50 61 |Undo,Cut|,Copy,Pa|
|00003a50| 73 74 65 2c 43 6c 65 61 | 72 22 20 74 68 65 6e 20 |ste,Clea|r" then |
|00003a60| 2d 2d c6 0d 73 65 6e 64 | 20 77 6f 72 64 20 31 20 |--..send| word 1 |
|00003a70| 6f 66 20 74 68 65 49 74 | 65 6d 20 74 6f 20 77 69 |of theIt|em to wi|
|00003a80| 6e 64 6f 77 20 22 41 75 | 64 69 6f 50 61 6c 65 74 |ndow "Au|dioPalet|
|00003a90| 74 65 22 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |te".exit| doMenu.|
|00003aa0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 70 61 |end if.e|nd if.pa|
|00003ab0| 73 73 20 44 6f 4d 65 6e | 75 0d 65 6e 64 20 44 6f |ss DoMen|u.end Do|
|00003ac0| 4d 65 6e 75 0d 0d 6f 6e | 20 61 70 48 65 6c 70 0d |Menu..on| apHelp.|
|00003ad0| 67 6c 6f 62 61 6c 20 68 | 65 6c 70 4d 49 74 65 6d |global h|elpMItem|
|00003ae0| 0d 67 6f 20 73 74 61 63 | 6b 20 68 65 6c 70 4d 49 |.go stac|k helpMI|
|00003af0| 74 65 6d 20 69 6e 20 61 | 20 6e 65 77 20 77 69 6e |tem in a| new win|
|00003b00| 64 6f 77 0d 67 65 74 20 | 74 68 65 20 72 65 73 75 |dow.get |the resu|
|00003b10| 6c 74 0d 69 66 20 69 74 | 20 69 73 20 22 43 61 6e |lt.if it| is "Can|
|00003b20| 63 65 6c 22 20 74 68 65 | 6e 20 65 78 69 74 20 61 |cel" the|n exit a|
|00003b30| 70 48 65 6c 70 0d 69 66 | 20 69 74 20 ad 20 65 6d |pHelp.if| it . em|
|00003b40| 70 74 79 20 74 68 65 6e | 20 67 6f 20 73 74 61 63 |pty then| go stac|
|00003b50| 6b 20 68 65 6c 70 4d 49 | 74 65 6d 0d 65 6e 64 20 |k helpMI|tem.end |
|00003b60| 61 70 48 65 6c 70 0d 0d | 6f 6e 20 61 70 49 6e 76 |apHelp..|on apInv|
|00003b70| 6f 6b 65 0d 67 6c 6f 62 | 61 6c 20 49 6e 76 6f 6b |oke.glob|al Invok|
|00003b80| 65 4d 49 74 65 6d 0d 69 | 66 20 74 68 65 72 65 20 |eMItem.i|f there |
|00003b90| 69 73 20 6e 6f 74 20 61 | 20 77 69 6e 64 6f 77 20 |is not a| window |
|00003ba0| 22 41 75 64 69 6f 50 61 | 6c 65 74 74 65 22 20 74 |"AudioPa|lette" t|
|00003bb0| 68 65 6e 20 41 75 64 69 | 6f 50 61 6c 65 74 74 65 |hen Audi|oPalette|
|00003bc0| 0d 65 6c 73 65 20 73 68 | 6f 77 20 77 69 6e 64 6f |.else sh|ow windo|
|00003bd0| 77 20 22 41 75 64 69 6f | 50 61 6c 65 74 74 65 22 |w "Audio|Palette"|
|00003be0| 20 2d 2d 20 74 6f 20 62 | 72 69 6e 67 20 74 6f 20 | -- to b|ring to |
|00003bf0| 74 68 65 20 66 72 6f 6e | 74 20 6f 66 20 74 68 65 |the fron|t of the|
|00003c00| 20 77 69 6e 64 6f 69 64 | 20 6c 61 79 65 72 0d 65 | windoid| layer.e|
|00003c10| 6e 64 20 61 70 49 6e 76 | 6f 6b 65 0d 0d 6f 6e 20 |nd apInv|oke..on |
|00003c20| 72 65 73 65 74 41 50 4d | 65 6e 75 73 0d 67 6c 6f |resetAPM|enus.glo|
|00003c30| 62 61 6c 20 6d 65 6d 6f | 4d 49 74 65 6d 2c 69 6e |bal memo|MItem,in|
|00003c40| 76 6f 6b 65 4d 49 74 65 | 6d 2c 68 65 6c 70 4d 49 |vokeMIte|m,helpMI|
|00003c50| 74 65 6d 2c 49 73 41 53 | 6f 75 6e 64 53 74 61 63 |tem,IsAS|oundStac|
|00003c60| 6b 0d 69 66 20 28 22 3a | 22 20 26 20 68 65 6c 70 |k.if (":|" & help|
|00003c70| 4d 49 74 65 6d 20 26 20 | 72 65 74 75 72 6e 29 20 |MItem & |return) |
|00003c80| 69 73 20 6e 6f 74 20 69 | 6e 20 28 74 68 65 20 73 |is not i|n (the s|
|00003c90| 74 61 63 6b 73 49 6e 55 | 73 65 20 26 20 72 65 74 |tacksInU|se & ret|
|00003ca0| 75 72 6e 29 20 74 68 65 | 6e 0d 73 74 61 72 74 20 |urn) the|n.start |
|00003cb0| 75 73 69 6e 67 20 73 74 | 61 63 6b 20 68 65 6c 70 |using st|ack help|
|00003cc0| 4d 49 74 65 6d 0d 53 74 | 61 72 74 53 6f 75 6e 64 |MItem.St|artSound|
|00003cd0| 0d 65 6e 64 20 69 66 0d | 0d 69 66 20 49 73 41 53 |.end if.|.if IsAS|
|00003ce0| 6f 75 6e 64 53 74 61 63 | 6b 20 74 68 65 6e 20 55 |oundStac|k then U|
|00003cf0| 70 64 61 74 65 41 6e 6e | 6f 74 65 4d 65 6e 75 73 |pdateAnn|oteMenus|
|00003d00| 0d 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |..if the|re is a |
|00003d10| 6d 65 6e 75 69 74 65 6d | 20 68 65 6c 70 4d 49 74 |menuitem| helpMIt|
|00003d20| 65 6d 20 69 6e 20 6d 65 | 6e 75 20 33 20 74 68 65 |em in me|nu 3 the|
|00003d30| 6e 0d 73 65 74 20 74 68 | 65 20 63 68 65 63 6b 6d |n.set th|e checkm|
|00003d40| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|00003d50| 68 65 6c 70 4d 49 74 65 | 6d 20 69 6e 20 6d 65 6e |helpMIte|m in men|
|00003d60| 75 20 33 20 74 6f c2 0d | 28 74 68 65 20 6e 61 6d |u 3 to..|(the nam|
|00003d70| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00003d80| 3d 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 6d 65 |= the na|me of me|
|00003d90| 29 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 73 |).end if|.end res|
|00003da0| 65 74 41 50 4d 65 6e 75 | 73 0d 0d 6f 6e 20 61 70 |etAPMenu|s..on ap|
|00003db0| 53 61 76 65 20 66 69 6c | 65 4e 61 6d 65 0d 67 6c |Save fil|eName.gl|
|00003dc0| 6f 62 61 6c 20 49 73 41 | 53 6f 75 6e 64 53 74 61 |obal IsA|SoundSta|
|00003dd0| 63 6b 0d 73 65 74 20 74 | 68 65 20 63 75 72 73 6f |ck.set t|he curso|
|00003de0| 72 20 74 6f 20 77 61 74 | 63 68 0d 69 66 20 49 73 |r to wat|ch.if Is|
|00003df0| 41 53 6f 75 6e 64 53 74 | 61 63 6b 20 74 68 65 6e |ASoundSt|ack then|
|00003e00| 20 61 6e 6e 6f 74 65 49 | 6e 73 74 61 6c 6c 20 66 | annoteI|nstall f|
|00003e10| 69 6c 65 4e 61 6d 65 0d | 65 6c 73 65 20 6e 6f 72 |ileName.|else nor|
|00003e20| 6d 61 6c 49 6e 73 74 61 | 6c 6c 20 66 69 6c 65 4e |malInsta|ll fileN|
|00003e30| 61 6d 65 0d 65 6e 64 20 | 61 70 53 61 76 65 0d 0d |ame.end |apSave..|
|00003e40| 6f 6e 20 61 70 42 65 67 | 69 6e 45 64 69 74 0d 67 |on apBeg|inEdit.g|
|00003e50| 6c 6f 62 61 6c 20 53 61 | 76 65 53 65 6c 65 63 74 |lobal Sa|veSelect|
|00003e60| 2c 20 53 61 76 65 4c 69 | 6e 65 2c 20 53 61 76 65 |, SaveLi|ne, Save|
|00003e70| 4c 6f 63 0d 0d 70 75 74 | 20 22 55 6e 64 6f 22 20 |Loc..put| "Undo" |
|00003e80| 69 6e 74 6f 20 6d 65 6e | 75 69 74 65 6d 20 31 20 |into men|uitem 1 |
|00003e90| 6f 66 20 6d 65 6e 75 20 | 33 20 20 2d 2d c6 0d 70 |of menu |3 --..p|
|00003ea0| 75 74 20 22 2d 22 20 69 | 6e 74 6f 20 6d 65 6e 75 |ut "-" i|nto menu|
|00003eb0| 69 74 65 6d 20 32 20 6f | 66 20 6d 65 6e 75 20 33 |item 2 o|f menu 3|
|00003ec0| 20 20 2d 2d c6 0d 70 75 | 74 20 22 43 75 74 22 20 | --..pu|t "Cut" |
|00003ed0| 69 6e 74 6f 20 6d 65 6e | 75 49 74 65 6d 20 33 20 |into men|uItem 3 |
|00003ee0| 6f 66 20 6d 65 6e 75 20 | 33 20 20 2d 2d c6 0d 70 |of menu |3 --..p|
|00003ef0| 75 74 20 22 43 6f 70 79 | 22 20 69 6e 74 6f 20 6d |ut "Copy|" into m|
|00003f00| 65 6e 75 49 74 65 6d 20 | 34 20 6f 66 20 6d 65 6e |enuItem |4 of men|
|00003f10| 75 20 33 20 20 2d 2d c6 | 0d 70 75 74 20 22 50 61 |u 3 --.|.put "Pa|
|00003f20| 73 74 65 22 20 69 6e 74 | 6f 20 6d 65 6e 75 49 74 |ste" int|o menuIt|
|00003f30| 65 6d 20 35 20 6f 66 20 | 4d 65 6e 75 20 33 20 20 |em 5 of |Menu 3 |
|00003f40| 2d 2d c6 0d 70 75 74 20 | 22 43 6c 65 61 72 22 20 |--..put |"Clear" |
|00003f50| 69 6e 74 6f 20 6d 65 6e | 75 49 74 65 6d 20 36 20 |into men|uItem 6 |
|00003f60| 6f 66 20 6d 65 6e 75 20 | 33 20 20 2d 2d c6 0d 73 |of menu |3 --..s|
|00003f70| 65 74 20 63 6d 64 43 68 | 61 72 20 6f 66 20 6d 65 |et cmdCh|ar of me|
|00003f80| 6e 75 69 74 65 6d 20 31 | 20 6f 66 20 6d 65 6e 75 |nuitem 1| of menu|
|00003f90| 20 33 20 74 6f 20 22 5a | 22 20 2d 2d c6 0d 73 65 | 3 to "Z|" --..se|
|00003fa0| 74 20 63 6d 64 43 68 61 | 72 20 6f 66 20 6d 65 6e |t cmdCha|r of men|
|00003fb0| 75 49 74 65 6d 20 33 20 | 6f 66 20 6d 65 6e 75 20 |uItem 3 |of menu |
|00003fc0| 33 20 74 6f 20 22 58 22 | 20 2d 2d c6 0d 73 65 74 |3 to "X"| --..set|
|00003fd0| 20 63 6d 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 | cmdChar| of menu|
|00003fe0| 49 74 65 6d 20 34 20 6f | 66 20 6d 65 6e 75 20 33 |Item 4 o|f menu 3|
|00003ff0| 20 74 6f 20 22 43 22 20 | 2d 2d c6 0d 73 65 74 20 | to "C" |--..set |
|00004000| 63 6d 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 49 |cmdChar |of menuI|
|00004010| 74 65 6d 20 35 20 6f 66 | 20 6d 65 6e 75 20 33 20 |tem 5 of| menu 3 |
|00004020| 74 6f 20 22 56 22 20 2d | 2d c6 0d 0d 69 66 20 53 |to "V" -|-...if S|
|00004030| 61 76 65 53 65 6c 65 63 | 74 20 69 73 20 6e 6f 74 |aveSelec|t is not|
|00004040| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00004050| 20 61 70 42 65 67 69 6e | 45 64 69 74 0d 67 65 74 | apBegin|Edit.get|
|00004060| 20 74 68 65 20 53 65 6c | 65 63 74 65 64 43 68 75 | the Sel|ectedChu|
|00004070| 6e 6b 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |nk.if th|ere is a|
|00004080| 20 66 69 65 6c 64 20 22 | 6e 6f 74 65 73 22 20 74 | field "|notes" t|
|00004090| 68 65 6e 20 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |hen put |the numb|
|000040a0| 65 72 20 6f 66 20 66 69 | 65 6c 64 20 22 6e 6f 74 |er of fi|eld "not|
|000040b0| 65 73 22 20 69 6e 74 6f | 20 4e 6f 74 65 73 46 69 |es" into| NotesFi|
|000040c0| 65 6c 64 0d 69 66 20 69 | 74 20 69 73 20 65 6d 70 |eld.if i|t is emp|
|000040d0| 74 79 20 6f 72 20 22 6d | 65 73 73 61 67 65 20 62 |ty or "m|essage b|
|000040e0| 6f 78 22 20 69 73 20 69 | 6e 20 69 74 20 6f 72 20 |ox" is i|n it or |
|000040f0| c2 0d 77 6f 72 64 20 36 | 20 74 6f 20 38 20 6f 66 |..word 6| to 8 of|
|00004100| 20 69 74 20 3d 20 22 62 | 6b 67 6e 64 20 66 69 65 | it = "b|kgnd fie|
|00004110| 6c 64 22 20 26 26 20 4e | 6f 74 65 73 46 69 65 6c |ld" && N|otesFiel|
|00004120| 64 20 74 68 65 6e 20 65 | 78 69 74 20 61 70 42 65 |d then e|xit apBe|
|00004130| 67 69 6e 45 64 69 74 0d | 70 75 74 20 69 74 20 69 |ginEdit.|put it i|
|00004140| 6e 74 6f 20 53 61 76 65 | 53 65 6c 65 63 74 0d 70 |nto Save|Select.p|
|00004150| 75 74 20 74 68 65 20 73 | 65 6c 65 63 74 65 64 4c |ut the s|electedL|
|00004160| 69 6e 65 20 69 6e 74 6f | 20 53 61 76 65 4c 69 6e |ine into| SaveLin|
|00004170| 65 0d 70 75 74 20 74 68 | 65 20 73 65 6c 65 63 74 |e.put th|e select|
|00004180| 65 64 4c 6f 63 20 69 6e | 74 6f 20 53 61 76 65 4c |edLoc in|to SaveL|
|00004190| 6f 63 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 73 |oc.set t|he texts|
|000041a0| 74 79 6c 65 20 6f 66 20 | 53 61 76 65 53 65 6c 65 |tyle of |SaveSele|
|000041b0| 63 74 20 74 6f 20 62 6f | 6c 64 0d 65 6e 64 20 61 |ct to bo|ld.end a|
|000041c0| 70 42 65 67 69 6e 45 64 | 69 74 0d 0d 6f 6e 20 61 |pBeginEd|it..on a|
|000041d0| 70 42 65 67 69 6e 57 61 | 76 65 45 64 69 74 0d 67 |pBeginWa|veEdit.g|
|000041e0| 6c 6f 62 61 6c 20 48 43 | 45 64 69 74 49 74 65 6d |lobal HC|EditItem|
|000041f0| 73 2c 41 50 45 64 69 74 | 69 6e 67 49 74 65 6d 73 |s,APEdit|ingItems|
|00004200| 2c 41 50 45 64 69 74 69 | 6e 67 49 74 65 6d 4d 73 |,APEditi|ngItemMs|
|00004210| 67 73 2c 20 c2 0d 53 61 | 76 65 53 65 6c 65 63 74 |gs, ..Sa|veSelect|
|00004220| 2c 20 53 61 76 65 4c 69 | 6e 65 2c 20 53 61 76 65 |, SaveLi|ne, Save|
|00004230| 4c 6f 63 2c 20 41 50 48 | 61 73 57 61 76 65 45 64 |Loc, APH|asWaveEd|
|00004240| 69 74 0d 0d 69 66 20 53 | 61 76 65 53 65 6c 65 63 |it..if S|aveSelec|
|00004250| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |t is emp|ty then.|
|00004260| 43 68 65 63 6b 53 61 76 | 65 53 65 6c 65 63 74 0d |CheckSav|eSelect.|
|00004270| 65 6e 64 20 69 66 0d 0d | 69 66 20 53 61 76 65 53 |end if..|if SaveS|
|00004280| 65 6c 65 63 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |elect is| not emp|
|00004290| 74 79 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |ty then |set the |
|000042a0| 74 65 78 74 53 74 79 6c | 65 20 6f 66 20 53 61 76 |textStyl|e of Sav|
|000042b0| 65 53 65 6c 65 63 74 20 | 74 6f 20 62 6f 6c 64 0d |eSelect |to bold.|
|000042c0| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 41 |.put tru|e into A|
|000042d0| 50 48 61 73 57 61 76 65 | 45 64 69 74 0d 0d 70 75 |PHasWave|Edit..pu|
|000042e0| 74 20 22 55 6e 64 6f 22 | 20 69 6e 74 6f 20 6d 65 |t "Undo"| into me|
|000042f0| 6e 75 69 74 65 6d 20 31 | 20 6f 66 20 6d 65 6e 75 |nuitem 1| of menu|
|00004300| 20 33 20 20 2d 2d c6 0d | 70 75 74 20 22 2d 22 20 | 3 --..|put "-" |
|00004310| 69 6e 74 6f 20 6d 65 6e | 75 69 74 65 6d 20 32 20 |into men|uitem 2 |
|00004320| 6f 66 20 6d 65 6e 75 20 | 33 20 20 2d 2d c6 0d 70 |of menu |3 --..p|
|00004330| 75 74 20 22 43 75 74 20 | 53 6f 75 6e 64 22 20 69 |ut "Cut |Sound" i|
|00004340| 6e 74 6f 20 6d 65 6e 75 | 69 74 65 6d 20 33 20 6f |nto menu|item 3 o|
|00004350| 66 20 6d 65 6e 75 20 33 | 20 20 2d 2d c6 0d 70 75 |f menu 3| --..pu|
|00004360| 74 20 22 43 6f 70 79 20 | 53 6f 75 6e 64 22 20 69 |t "Copy |Sound" i|
|00004370| 6e 74 6f 20 6d 65 6e 75 | 69 74 65 6d 20 34 20 6f |nto menu|item 4 o|
|00004380| 66 20 6d 65 6e 75 20 33 | 20 20 2d 2d c6 0d 70 75 |f menu 3| --..pu|
|00004390| 74 20 22 50 61 73 74 65 | 20 53 6f 75 6e 64 22 20 |t "Paste| Sound" |
|000043a0| 69 6e 74 6f 20 6d 65 6e | 75 69 74 65 6d 20 35 20 |into men|uitem 5 |
|000043b0| 6f 66 20 6d 65 6e 75 20 | 33 20 20 2d 2d c6 0d 70 |of menu |3 --..p|
|000043c0| 75 74 20 22 43 6c 65 61 | 72 20 53 6f 75 6e 64 22 |ut "Clea|r Sound"|
|000043d0| 20 69 6e 74 6f 20 6d 65 | 6e 75 69 74 65 6d 20 36 | into me|nuitem 6|
|000043e0| 20 6f 66 20 6d 65 6e 75 | 20 33 20 20 2d 2d c6 0d | of menu| 3 --..|
|000043f0| 0d 73 65 74 20 63 6d 64 | 43 68 61 72 20 6f 66 20 |.set cmd|Char of |
|00004400| 6d 65 6e 75 69 74 65 6d | 20 31 20 6f 66 20 6d 65 |menuitem| 1 of me|
|00004410| 6e 75 20 33 20 74 6f 20 | 22 5a 22 20 2d 2d c6 0d |nu 3 to |"Z" --..|
|00004420| 73 65 74 20 63 6d 64 43 | 68 61 72 20 6f 66 20 6d |set cmdC|har of m|
|00004430| 65 6e 75 69 74 65 6d 20 | 33 20 6f 66 20 6d 65 6e |enuitem |3 of men|
|00004440| 75 20 33 20 74 6f 20 22 | 58 22 20 2d 2d c6 0d 73 |u 3 to "|X" --..s|
|00004450| 65 74 20 63 6d 64 43 68 | 61 72 20 6f 66 20 6d 65 |et cmdCh|ar of me|
|00004460| 6e 75 69 74 65 6d 20 34 | 20 6f 66 20 6d 65 6e 75 |nuitem 4| of menu|
|00004470| 20 33 20 74 6f 20 22 43 | 22 20 2d 2d c6 0d 73 65 | 3 to "C|" --..se|
|00004480| 74 20 63 6d 64 43 68 61 | 72 20 6f 66 20 6d 65 6e |t cmdCha|r of men|
|00004490| 75 69 74 65 6d 20 35 20 | 6f 66 20 6d 65 6e 75 20 |uitem 5 |of menu |
|000044a0| 33 20 74 6f 20 22 56 22 | 20 2d 2d c6 0d 0d 69 66 |3 to "V"| --...if|
|000044b0| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|000044c0| 49 74 65 6d 20 22 53 65 | 6c 65 63 74 20 41 6c 6c |Item "Se|lect All|
|000044d0| 22 20 6f 66 20 6d 65 6e | 75 20 33 20 74 68 65 6e |" of men|u 3 then|
|000044e0| 20 65 78 69 74 20 61 70 | 42 65 67 69 6e 57 61 76 | exit ap|BeginWav|
|000044f0| 65 45 64 69 74 20 2d 2d | c6 0d 0d 70 75 74 20 22 |eEdit --|...put "|
|00004500| 2d 2c 53 65 6c 65 63 74 | 20 41 6c 6c 2c 56 69 65 |-,Select| All,Vie|
|00004510| 77 20 41 6c 6c 22 20 61 | 66 74 65 72 20 6d 65 6e |w All" a|fter men|
|00004520| 75 69 74 65 6d 20 36 20 | 6f 66 20 6d 65 6e 75 20 |uitem 6 |of menu |
|00004530| 33 20 77 69 74 68 20 c2 | 20 20 2d 2d c6 0d 6d 65 |3 with .| --..me|
|00004540| 6e 75 4d 73 67 73 20 22 | 2d 2c 73 65 6e 64 20 53 |nuMsgs "|-,send S|
|00004550| 65 6c 65 63 74 41 6c 6c | 20 74 6f 20 77 69 6e 64 |electAll| to wind|
|00004560| 6f 77 20 41 75 64 69 6f | 50 61 6c 65 74 74 65 2c |ow Audio|Palette,|
|00004570| 22 20 26 c2 0d 22 73 65 | 6e 64 20 56 69 65 77 41 |" &.."se|nd ViewA|
|00004580| 6c 6c 20 74 6f 20 77 69 | 6e 64 6f 77 20 41 75 64 |ll to wi|ndow Aud|
|00004590| 69 6f 50 61 6c 65 74 74 | 65 22 0d 0d 73 65 74 20 |ioPalett|e"..set |
|000045a0| 63 6d 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 69 |cmdChar |of menui|
|000045b0| 74 65 6d 20 38 20 6f 66 | 20 6d 65 6e 75 20 33 20 |tem 8 of| menu 3 |
|000045c0| 74 6f 20 22 41 22 20 2d | 2d c6 0d 73 65 74 20 63 |to "A" -|-..set c|
|000045d0| 6d 64 43 68 61 72 20 6f | 66 20 6d 65 6e 75 69 74 |mdChar o|f menuit|
|000045e0| 65 6d 20 39 20 6f 66 20 | 6d 65 6e 75 20 33 20 74 |em 9 of |menu 3 t|
|000045f0| 6f 20 22 53 22 20 2d 2d | c6 0d 65 6e 64 20 61 70 |o "S" --|..end ap|
|00004600| 42 65 67 69 6e 57 61 76 | 65 45 64 69 74 0d 0d 6f |BeginWav|eEdit..o|
|00004610| 6e 20 61 70 45 6e 64 57 | 61 76 65 45 64 69 74 0d |n apEndW|aveEdit.|
|00004620| 67 6c 6f 62 61 6c 20 48 | 43 45 64 69 74 4d 65 6e |global H|CEditMen|
|00004630| 75 49 74 65 6d 73 2c 20 | 41 50 48 61 73 57 61 76 |uItems, |APHasWav|
|00004640| 65 45 64 69 74 0d 70 75 | 74 20 66 61 6c 73 65 20 |eEdit.pu|t false |
|00004650| 69 6e 74 6f 20 41 50 48 | 61 73 57 61 76 65 45 64 |into APH|asWaveEd|
|00004660| 69 74 0d 70 75 74 20 22 | 55 6e 64 6f 22 20 69 6e |it.put "|Undo" in|
|00004670| 74 6f 20 6d 65 6e 75 69 | 74 65 6d 20 31 20 6f 66 |to menui|tem 1 of|
|00004680| 20 6d 65 6e 75 20 33 20 | 20 2d 2d c6 0d 70 75 74 | menu 3 | --..put|
|00004690| 20 22 2d 22 20 69 6e 74 | 6f 20 6d 65 6e 75 69 74 | "-" int|o menuit|
|000046a0| 65 6d 20 32 20 6f 66 20 | 6d 65 6e 75 20 33 20 20 |em 2 of |menu 3 |
|000046b0| 2d 2d c6 0d 70 75 74 20 | 22 43 75 74 22 20 69 6e |--..put |"Cut" in|
|000046c0| 74 6f 20 6d 65 6e 75 49 | 74 65 6d 20 33 20 6f 66 |to menuI|tem 3 of|
|000046d0| 20 6d 65 6e 75 20 33 20 | 20 2d 2d c6 0d 70 75 74 | menu 3 | --..put|
|000046e0| 20 22 43 6f 70 79 22 20 | 69 6e 74 6f 20 6d 65 6e | "Copy" |into men|
|000046f0| 75 49 74 65 6d 20 34 20 | 6f 66 20 6d 65 6e 75 20 |uItem 4 |of menu |
|00004700| 33 20 20 2d 2d c6 0d 70 | 75 74 20 22 50 61 73 74 |3 --..p|ut "Past|
|00004710| 65 22 20 69 6e 74 6f 20 | 6d 65 6e 75 49 74 65 6d |e" into |menuItem|
|00004720| 20 35 20 6f 66 20 4d 65 | 6e 75 20 33 20 20 2d 2d | 5 of Me|nu 3 --|
|00004730| c6 0d 70 75 74 20 22 43 | 6c 65 61 72 22 20 69 6e |..put "C|lear" in|
|00004740| 74 6f 20 6d 65 6e 75 49 | 74 65 6d 20 36 20 6f 66 |to menuI|tem 6 of|
|00004750| 20 6d 65 6e 75 20 33 20 | 20 2d 2d c6 0d 73 65 74 | menu 3 | --..set|
|00004760| 20 63 6d 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 | cmdChar| of menu|
|00004770| 69 74 65 6d 20 31 20 6f | 66 20 6d 65 6e 75 20 33 |item 1 o|f menu 3|
|00004780| 20 74 6f 20 22 5a 22 20 | 2d 2d c6 0d 73 65 74 20 | to "Z" |--..set |
|00004790| 63 6d 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 49 |cmdChar |of menuI|
|000047a0| 74 65 6d 20 33 20 6f 66 | 20 6d 65 6e 75 20 33 20 |tem 3 of| menu 3 |
|000047b0| 74 6f 20 22 58 22 20 2d | 2d c6 0d 73 65 74 20 63 |to "X" -|-..set c|
|000047c0| 6d 64 43 68 61 72 20 6f | 66 20 6d 65 6e 75 49 74 |mdChar o|f menuIt|
|000047d0| 65 6d 20 34 20 6f 66 20 | 6d 65 6e 75 20 33 20 74 |em 4 of |menu 3 t|
|000047e0| 6f 20 22 43 22 20 2d 2d | c6 0d 73 65 74 20 63 6d |o "C" --|..set cm|
|000047f0| 64 43 68 61 72 20 6f 66 | 20 6d 65 6e 75 49 74 65 |dChar of| menuIte|
|00004800| 6d 20 35 20 6f 66 20 6d | 65 6e 75 20 33 20 74 6f |m 5 of m|enu 3 to|
|00004810| 20 22 56 22 20 2d 2d c6 | 0d 69 66 20 74 68 65 72 | "V" --.|.if ther|
|00004820| 65 20 69 73 20 6e 6f 74 | 20 61 20 6d 65 6e 75 49 |e is not| a menuI|
|00004830| 74 65 6d 20 22 53 65 6c | 65 63 74 20 41 6c 6c 22 |tem "Sel|ect All"|
|00004840| 20 6f 66 20 6d 65 6e 75 | 20 33 20 74 68 65 6e 20 | of menu| 3 then |
|00004850| 65 78 69 74 20 61 70 45 | 6e 64 57 61 76 65 45 64 |exit apE|ndWaveEd|
|00004860| 69 74 20 20 2d 2d c6 0d | 72 65 70 65 61 74 20 33 |it --..|repeat 3|
|00004870| 0d 64 65 6c 65 74 65 20 | 6d 65 6e 75 69 74 65 6d |.delete |menuitem|
|00004880| 20 37 20 6f 66 20 6d 65 | 6e 75 20 33 0d 65 6e 64 | 7 of me|nu 3.end|
|00004890| 20 72 65 70 65 61 74 0d | 65 6e 64 20 61 70 45 6e | repeat.|end apEn|
|000048a0| 64 57 61 76 65 45 64 69 | 74 0d 0d 2d 2d 6f 74 68 |dWaveEdi|t..--oth|
|000048b0| 65 72 20 68 61 6e 64 6c | 65 72 73 0d 0d 6f 6e 20 |er handl|ers..on |
|000048c0| 73 74 61 72 74 53 6f 75 | 6e 64 0d 67 6c 6f 62 61 |startSou|nd.globa|
|000048d0| 6c 20 53 61 76 65 53 65 | 6c 65 63 74 2c 68 69 64 |l SaveSe|lect,hid|
|000048e0| 65 4d 49 74 65 6d 2c 70 | 72 6f 74 6f 41 70 70 74 |eMItem,p|rotoAppt|
|000048f0| 42 74 6e 53 63 72 69 70 | 74 2c 70 72 6f 74 6f 4e |BtnScrip|t,protoN|
|00004900| 6f 72 6d 61 6c 42 74 6e | 53 63 72 69 70 74 2c c2 |ormalBtn|Script,.|
|00004910| 0d 6d 65 6d 6f 4d 49 74 | 65 6d 2c 64 65 6c 4d 49 |.memoMIt|em,delMI|
|00004920| 74 65 6d 2c 73 68 6f 77 | 4d 49 74 65 6d 2c 41 50 |tem,show|MItem,AP|
|00004930| 4d 65 6e 75 4e 61 6d 65 | 2c 69 6e 76 6f 6b 65 4d |MenuName|,invokeM|
|00004940| 49 74 65 6d 2c 68 65 6c | 70 4d 49 74 65 6d 2c c2 |Item,hel|pMItem,.|
|00004950| 0d 49 73 41 53 6f 75 6e | 64 53 74 61 63 6b 2c 48 |.IsASoun|dStack,H|
|00004960| 43 45 64 69 74 4d 65 6e | 75 49 74 65 6d 73 0d 70 |CEditMen|uItems.p|
|00004970| 75 74 20 28 43 68 65 63 | 6b 49 66 41 70 70 6f 69 |ut (Chec|kIfAppoi|
|00004980| 6e 74 6d 65 6e 74 73 28 | 29 20 6f 72 20 43 68 65 |ntments(|) or Che|
|00004990| 63 6b 49 66 41 64 64 72 | 65 73 73 65 73 28 29 29 |ckIfAddr|esses())|
|000049a0| 20 69 6e 74 6f 20 49 73 | 41 53 6f 75 6e 64 53 74 | into Is|ASoundSt|
|000049b0| 61 63 6b 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |ack.put |empty in|
|000049c0| 74 6f 20 53 61 76 65 73 | 65 6c 65 63 74 0d 70 75 |to Saves|elect.pu|
|000049d0| 74 20 22 45 64 69 74 22 | 20 69 6e 74 6f 20 41 50 |t "Edit"| into AP|
|000049e0| 4d 65 6e 75 4e 61 6d 65 | 20 2d 2d c6 20 6e 61 6d |MenuName| --. nam|
|000049f0| 65 20 6f 66 20 6d 65 6e | 75 20 41 75 64 69 6f 50 |e of men|u AudioP|
|00004a00| 61 6c 6c 65 74 65 20 75 | 73 65 73 0d 70 75 74 20 |allete u|ses.put |
|00004a10| 22 41 75 64 69 6f 2e 2e | 2e 22 20 69 6e 74 6f 20 |"Audio..|." into |
|00004a20| 69 6e 76 6f 6b 65 4d 49 | 74 65 6d 20 2d 2d c6 20 |invokeMI|tem --. |
|00004a30| 69 74 65 6d 20 77 68 69 | 63 68 20 6c 61 75 6e 63 |item whi|ch launc|
|00004a40| 68 65 73 20 41 50 0d 70 | 75 74 20 22 41 75 64 69 |hes AP.p|ut "Audi|
|00004a50| 6f 20 48 65 6c 70 22 20 | 69 6e 74 6f 20 68 65 6c |o Help" |into hel|
|00004a60| 70 4d 49 74 65 6d 20 2d | 2d c6 20 69 74 65 6d 20 |pMItem -|-. item |
|00004a70| 77 68 69 63 68 20 6f 70 | 65 6e 73 20 68 65 6c 70 |which op|ens help|
|00004a80| 20 73 74 61 63 6b 0d 70 | 75 74 20 20 22 41 64 64 | stack.p|ut "Add|
|00004a90| 20 41 75 64 69 6f 20 4d | 65 6d 6f 22 20 69 6e 74 | Audio M|emo" int|
|00004aa0| 6f 20 6d 65 6d 6f 4d 49 | 74 65 6d 20 2d 2d c6 20 |o memoMI|tem --. |
|00004ab0| 69 74 65 6d 20 77 68 69 | 63 68 20 61 64 64 73 20 |item whi|ch adds |
|00004ac0| 61 20 6d 65 6d 6f 0d 70 | 75 74 20 20 22 44 65 6c |a memo.p|ut "Del|
|00004ad0| 65 74 65 20 41 75 64 69 | 6f 20 4d 65 6d 6f c9 22 |ete Audi|o Memo."|
|00004ae0| 20 69 6e 74 6f 20 64 65 | 6c 4d 49 74 65 6d 20 2d | into de|lMItem -|
|00004af0| 2d c6 20 69 74 65 6d 20 | 77 68 69 63 68 20 64 65 |-. item |which de|
|00004b00| 6c 65 74 65 73 20 6d 65 | 6d 6f 0d 70 75 74 20 20 |letes me|mo.put |
|00004b10| 22 48 69 64 65 20 41 75 | 64 69 6f 20 4d 65 6d 6f |"Hide Au|dio Memo|
|00004b20| 73 22 20 20 69 6e 74 6f | 20 68 69 64 65 4d 49 74 |s" into| hideMIt|
|00004b30| 65 6d 20 2d 2d c6 20 69 | 74 65 6d 20 77 68 69 63 |em --. i|tem whic|
|00004b40| 68 20 68 69 64 65 73 20 | 6d 65 6d 6f 73 0d 70 75 |h hides |memos.pu|
|00004b50| 74 20 20 22 53 68 6f 77 | 20 41 75 64 69 6f 20 4d |t "Show| Audio M|
|00004b60| 65 6d 6f 73 22 20 20 69 | 6e 74 6f 20 73 68 6f 77 |emos" i|nto show|
|00004b70| 4d 49 74 65 6d 20 2d 2d | c6 20 69 74 65 6d 20 77 |MItem --|. item w|
|00004b80| 68 69 63 68 20 73 68 6f | 77 73 20 6d 65 6d 6f 73 |hich sho|ws memos|
|00004b90| 0d 69 66 20 6c 61 73 74 | 20 6d 65 6e 75 49 74 65 |.if last| menuIte|
|00004ba0| 6d 20 6f 66 20 6d 65 6e | 75 20 33 20 69 73 20 22 |m of men|u 3 is "|
|00004bb0| 2d 22 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6c |-" then |delete l|
|00004bc0| 61 73 74 20 6d 65 6e 75 | 49 74 65 6d 20 6f 66 20 |ast menu|Item of |
|00004bd0| 6d 65 6e 75 20 33 0d 69 | 66 20 74 68 65 72 65 20 |menu 3.i|f there |
|00004be0| 69 73 20 6e 6f 74 20 61 | 20 6d 65 6e 75 49 74 65 |is not a| menuIte|
|00004bf0| 6d 20 69 6e 76 6f 6b 65 | 4d 49 74 65 6d 20 69 6e |m invoke|MItem in|
|00004c00| 20 6d 65 6e 75 20 33 20 | 74 68 65 6e 0d 70 75 74 | menu 3 |then.put|
|00004c10| 20 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 63 72 0d | return |into cr.|
|00004c20| 70 75 74 20 22 2d 22 26 | 63 72 26 69 6e 76 6f 6b |put "-"&|cr&invok|
|00004c30| 65 4d 49 74 65 6d 26 63 | 72 26 68 65 6c 70 4d 49 |eMItem&c|r&helpMI|
|00004c40| 74 65 6d 20 61 66 74 65 | 72 c2 0d 6d 65 6e 75 20 |tem afte|r..menu |
|00004c50| 33 20 77 69 74 68 20 6d | 65 6e 75 4d 73 67 73 20 |3 with m|enuMsgs |
|00004c60| 63 72 26 22 41 50 69 6e | 76 6f 6b 65 22 26 63 72 |cr&"APin|voke"&cr|
|00004c70| 26 22 41 50 68 65 6c 70 | 22 0d 65 6e 64 20 69 66 |&"APhelp|".end if|
|00004c80| 0d 0d 70 75 74 20 6d 65 | 6e 75 20 33 20 69 6e 74 |..put me|nu 3 int|
|00004c90| 6f 20 48 43 45 64 69 74 | 4d 65 6e 75 49 74 65 6d |o HCEdit|MenuItem|
|00004ca0| 73 0d 0d 73 65 74 20 74 | 68 65 20 63 75 72 73 6f |s..set t|he curso|
|00004cb0| 72 20 74 6f 20 77 61 74 | 63 68 0d 6c 6f 63 6b 20 |r to wat|ch.lock |
|00004cc0| 73 63 72 65 65 6e 0d 73 | 65 74 20 6c 6f 63 6b 6d |screen.s|et lockm|
|00004cd0| 65 73 73 61 67 65 73 20 | 74 6f 20 74 72 75 65 0d |essages |to true.|
|00004ce0| 70 75 73 68 20 63 61 72 | 64 0d 67 6f 20 73 74 61 |push car|d.go sta|
|00004cf0| 63 6b 20 68 65 6c 70 4d | 49 74 65 6d 0d 70 75 74 |ck helpM|Item.put|
|00004d00| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 62 | the scr|ipt of b|
|00004d10| 67 20 62 74 6e 20 22 50 | 72 6f 74 6f 41 70 70 74 |g btn "P|rotoAppt|
|00004d20| 62 74 6e 22 20 69 6e 74 | 6f 20 70 72 6f 74 6f 41 |btn" int|o protoA|
|00004d30| 70 70 74 42 74 6e 53 63 | 72 69 70 74 0d 70 75 74 |pptBtnSc|ript.put|
|00004d40| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 62 | the scr|ipt of b|
|00004d50| 67 20 62 74 6e 20 22 50 | 72 6f 74 6f 4e 6f 72 6d |g btn "P|rotoNorm|
|00004d60| 61 6c 62 74 6e 22 20 69 | 6e 74 6f 20 70 72 6f 74 |albtn" i|nto prot|
|00004d70| 6f 4e 6f 72 6d 61 6c 42 | 74 6e 53 63 72 69 70 74 |oNormalB|tnScript|
|00004d80| 0d 70 6f 70 20 63 61 72 | 64 0d 73 65 74 20 6c 6f |.pop car|d.set lo|
|00004d90| 63 6b 6d 65 73 73 61 67 | 65 73 20 74 6f 20 66 61 |ckmessag|es to fa|
|00004da0| 6c 73 65 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |lse.unlo|ck scree|
|00004db0| 6e 0d 65 6e 64 20 73 74 | 61 72 74 53 6f 75 6e 64 |n.end st|artSound|
|00004dc0| 0d 0d 6f 6e 20 55 70 64 | 61 74 65 50 72 6f 74 6f |..on Upd|ateProto|
|00004dd0| 53 63 72 69 70 74 73 0d | 67 6c 6f 62 61 6c 20 70 |Scripts.|global p|
|00004de0| 72 6f 74 6f 41 70 70 74 | 42 74 6e 53 63 72 69 70 |rotoAppt|BtnScrip|
|00004df0| 74 2c 70 72 6f 74 6f 4e | 6f 72 6d 61 6c 42 74 6e |t,protoN|ormalBtn|
|00004e00| 53 63 72 69 70 74 0d 70 | 75 74 20 74 68 65 20 73 |Script.p|ut the s|
|00004e10| 63 72 69 70 74 20 6f 66 | 20 62 67 20 62 74 6e 20 |cript of| bg btn |
|00004e20| 22 50 72 6f 74 6f 41 70 | 70 74 62 74 6e 22 20 69 |"ProtoAp|ptbtn" i|
|00004e30| 6e 74 6f 20 70 72 6f 74 | 6f 41 70 70 74 42 74 6e |nto prot|oApptBtn|
|00004e40| 53 63 72 69 70 74 0d 70 | 75 74 20 74 68 65 20 73 |Script.p|ut the s|
|00004e50| 63 72 69 70 74 20 6f 66 | 20 62 67 20 62 74 6e 20 |cript of| bg btn |
|00004e60| 22 50 72 6f 74 6f 4e 6f | 72 6d 61 6c 62 74 6e 22 |"ProtoNo|rmalbtn"|
|00004e70| 20 69 6e 74 6f 20 70 72 | 6f 74 6f 4e 6f 72 6d 61 | into pr|otoNorma|
|00004e80| 6c 42 74 6e 53 63 72 69 | 70 74 0d 65 6e 64 20 55 |lBtnScri|pt.end U|
|00004e90| 70 64 61 74 65 50 72 6f | 74 6f 53 63 72 69 70 74 |pdatePro|toScript|
|00004ea0| 73 0d 0d 6f 6e 20 61 6e | 6e 6f 74 65 49 6e 73 74 |s..on an|noteInst|
|00004eb0| 61 6c 6c 20 66 69 6c 65 | 4e 61 6d 65 0d 67 6c 6f |all file|Name.glo|
|00004ec0| 62 61 6c 20 53 61 76 65 | 53 65 6c 65 63 74 2c 20 |bal Save|Select, |
|00004ed0| 70 72 6f 74 6f 41 70 70 | 74 42 74 6e 53 63 72 69 |protoApp|tBtnScri|
|00004ee0| 70 74 2c 20 53 61 76 65 | 4c 69 6e 65 2c 20 53 61 |pt, Save|Line, Sa|
|00004ef0| 76 65 4c 6f 63 0d 69 66 | 20 53 61 76 65 53 65 6c |veLoc.if| SaveSel|
|00004f00| 65 63 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ect is e|mpty the|
|00004f10| 6e 0d 43 68 65 63 6b 53 | 61 76 65 53 65 6c 65 63 |n.CheckS|aveSelec|
|00004f20| 74 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 20 |t.end if|.if the |
|00004f30| 66 69 72 73 74 20 63 68 | 61 72 20 6f 66 20 66 69 |first ch|ar of fi|
|00004f40| 6c 65 4e 61 6d 65 20 69 | 73 20 71 75 6f 74 65 20 |leName i|s quote |
|00004f50| 74 68 65 6e 0d 64 65 6c | 65 74 65 20 74 68 65 20 |then.del|ete the |
|00004f60| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 66 69 6c |last cha|r of fil|
|00004f70| 65 4e 61 6d 65 0d 64 65 | 6c 65 74 65 20 74 68 65 |eName.de|lete the|
|00004f80| 20 66 69 72 73 74 20 63 | 68 61 72 20 6f 66 20 66 | first c|har of f|
|00004f90| 69 6c 65 4e 61 6d 65 0d | 65 6e 64 20 69 66 0d 70 |ileName.|end if.p|
|00004fa0| 75 74 20 66 69 6c 65 4e | 61 6d 65 20 26 20 72 65 |ut fileN|ame & re|
|00004fb0| 74 75 72 6e 20 26 20 22 | 41 50 20 42 75 74 74 6f |turn & "|AP Butto|
|00004fc0| 6e 22 20 69 6e 74 6f 20 | 4e 65 77 42 74 6e 4e 61 |n" into |NewBtnNa|
|00004fd0| 6d 65 0d 70 75 74 20 70 | 72 6f 74 6f 41 70 70 74 |me.put p|rotoAppt|
|00004fe0| 42 74 6e 53 63 72 69 70 | 74 20 69 6e 74 6f 20 62 |BtnScrip|t into b|
|00004ff0| 74 6e 73 63 72 69 70 74 | 0d 67 65 74 20 6e 75 6d |tnscript|.get num|
|00005000| 62 65 72 20 6f 66 20 77 | 6f 72 64 73 20 69 6e 20 |ber of w|ords in |
|00005010| 63 68 61 72 20 31 20 74 | 6f 20 6f 66 66 73 65 74 |char 1 t|o offset|
|00005020| 28 22 70 75 74 53 6f 75 | 6e 64 4e 61 6d 65 48 65 |("putSou|ndNameHe|
|00005030| 72 65 22 2c 62 74 6e 53 | 63 72 69 70 74 29 20 6f |re",btnS|cript) o|
|00005040| 66 20 62 74 6e 53 63 72 | 69 70 74 0d 70 75 74 20 |f btnScr|ipt.put |
|00005050| 71 75 6f 74 65 20 26 20 | 66 69 6c 65 4e 61 6d 65 |quote & |fileName|
|00005060| 20 26 20 71 75 6f 74 65 | 20 69 6e 74 6f 20 77 6f | & quote| into wo|
|00005070| 72 64 20 69 74 20 6f 66 | 20 62 74 6e 73 63 72 69 |rd it of| btnscri|
|00005080| 70 74 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |pt.if th|ere is a|
|00005090| 20 62 75 74 74 6f 6e 20 | 4e 65 77 42 74 6e 4e 61 | button |NewBtnNa|
|000050a0| 6d 65 20 74 68 65 6e 0d | 69 66 20 53 61 76 65 53 |me then.|if SaveS|
|000050b0| 65 6c 65 63 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |elect is| not emp|
|000050c0| 74 79 20 74 68 65 6e 0d | 70 75 74 20 43 6f 6d 70 |ty then.|put Comp|
|000050d0| 75 74 65 4d 65 6d 6f 4c | 6f 63 28 4e 65 77 42 74 |uteMemoL|oc(NewBt|
|000050e0| 6e 4e 61 6d 65 29 20 69 | 6e 74 6f 20 49 6e 73 74 |nName) i|nto Inst|
|000050f0| 61 6c 6c 4c 6f 63 0d 73 | 65 74 20 6c 6f 63 20 6f |allLoc.s|et loc o|
|00005100| 66 20 62 74 6e 20 4e 65 | 77 42 74 6e 4e 61 6d 65 |f btn Ne|wBtnName|
|00005110| 20 74 6f 20 49 6e 73 74 | 61 6c 6c 4c 6f 63 0d 69 | to Inst|allLoc.i|
|00005120| 66 20 6e 6f 74 20 74 68 | 65 20 76 69 73 69 62 6c |f not th|e visibl|
|00005130| 65 20 6f 66 20 62 74 6e | 20 4e 65 77 42 74 6e 4e |e of btn| NewBtnN|
|00005140| 61 6d 65 20 74 68 65 6e | 20 73 68 6f 77 20 62 74 |ame then| show bt|
|00005150| 6e 20 4e 65 77 42 74 6e | 4e 61 6d 65 0d 65 6e 64 |n NewBtn|Name.end|
|00005160| 20 69 66 0d 65 6c 73 65 | 0d 70 75 74 20 43 6f 6d | if.else|.put Com|
|00005170| 70 75 74 65 4d 65 6d 6f | 4c 6f 63 28 29 20 69 6e |puteMemo|Loc() in|
|00005180| 74 6f 20 49 6e 73 74 61 | 6c 6c 4c 6f 63 0d 6c 6f |to Insta|llLoc.lo|
|00005190| 63 6b 20 73 63 72 65 65 | 6e 0d 67 65 74 20 74 68 |ck scree|n.get th|
|000051a0| 65 20 75 73 65 72 6c 65 | 76 65 6c 0d 73 65 74 20 |e userle|vel.set |
|000051b0| 74 68 65 20 75 73 65 72 | 6c 65 76 65 6c 20 74 6f |the user|level to|
|000051c0| 20 35 0d 64 6f 6d 65 6e | 75 20 22 4e 65 77 20 42 | 5.domen|u "New B|
|000051d0| 75 74 74 6f 6e 22 0d 63 | 68 6f 6f 73 65 20 62 72 |utton".c|hoose br|
|000051e0| 6f 77 73 65 20 74 6f 6f | 6c 0d 73 65 74 20 74 68 |owse too|l.set th|
|000051f0| 65 20 75 73 65 72 6c 65 | 76 65 6c 20 74 6f 20 69 |e userle|vel to i|
|00005200| 74 0d 70 75 74 20 74 68 | 65 20 49 44 20 6f 66 20 |t.put th|e ID of |
|00005210| 6c 61 73 74 20 62 74 6e | 20 69 6e 74 6f 20 62 74 |last btn| into bt|
|00005220| 6e 49 44 0d 73 65 74 20 | 74 68 65 20 6e 61 6d 65 |nID.set |the name|
|00005230| 20 6f 66 20 62 74 6e 20 | 49 44 20 62 74 6e 49 44 | of btn |ID btnID|
|00005240| 20 74 6f 20 4e 65 77 42 | 74 6e 4e 61 6d 65 0d 73 | to NewB|tnName.s|
|00005250| 65 74 20 68 65 69 67 68 | 74 20 6f 66 20 62 74 6e |et heigh|t of btn|
|00005260| 20 49 44 20 62 74 6e 49 | 44 20 74 6f 20 31 37 0d | ID btnI|D to 17.|
|00005270| 73 65 74 20 77 69 64 74 | 68 20 6f 66 20 62 74 6e |set widt|h of btn|
|00005280| 20 49 44 20 62 74 6e 49 | 44 20 74 6f 20 32 30 0d | ID btnI|D to 20.|
|00005290| 73 65 74 20 74 68 65 20 | 73 63 72 69 70 74 20 6f |set the |script o|
|000052a0| 66 20 62 74 6e 20 49 44 | 20 62 74 6e 49 44 20 74 |f btn ID| btnID t|
|000052b0| 6f 20 62 74 6e 73 63 72 | 69 70 74 0d 73 65 74 20 |o btnscr|ipt.set |
|000052c0| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 74 6e 20 49 |the loc |of btn I|
|000052d0| 44 20 62 74 6e 49 44 20 | 74 6f 20 49 6e 73 74 61 |D btnID |to Insta|
|000052e0| 6c 6c 4c 6f 63 0d 73 65 | 74 20 74 68 65 20 69 63 |llLoc.se|t the ic|
|000052f0| 6f 6e 20 6f 66 20 62 74 | 6e 20 49 44 20 62 74 6e |on of bt|n ID btn|
|00005300| 49 44 20 74 6f 20 32 39 | 31 38 33 0d 73 65 74 20 |ID to 29|183.set |
|00005310| 74 68 65 20 73 68 6f 77 | 6e 61 6d 65 20 6f 66 20 |the show|name of |
|00005320| 62 74 6e 20 49 44 20 62 | 74 6e 49 44 20 74 6f 20 |btn ID b|tnID to |
|00005330| 66 61 6c 73 65 0d 73 65 | 74 20 74 68 65 20 73 74 |false.se|t the st|
|00005340| 79 6c 65 20 6f 66 20 62 | 74 6e 20 49 44 20 62 74 |yle of b|tn ID bt|
|00005350| 6e 49 44 20 74 6f 20 6f | 70 61 71 75 65 0d 73 65 |nID to o|paque.se|
|00005360| 74 20 74 68 65 20 61 75 | 74 6f 48 69 6c 69 74 65 |t the au|toHilite|
|00005370| 20 6f 66 20 62 74 6e 20 | 49 44 20 62 74 6e 49 44 | of btn |ID btnID|
|00005380| 20 74 6f 20 66 61 6c 73 | 65 0d 75 6e 6c 6f 63 6b | to fals|e.unlock|
|00005390| 20 73 63 72 65 65 6e 0d | 65 6e 64 20 69 66 0d 69 | screen.|end if.i|
|000053a0| 66 20 73 61 76 65 53 65 | 6c 65 63 74 20 69 73 20 |f saveSe|lect is |
|000053b0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 73 |not empt|y then.s|
|000053c0| 65 74 20 74 68 65 20 74 | 65 78 74 73 74 79 6c 65 |et the t|extstyle|
|000053d0| 20 6f 66 20 73 61 76 65 | 53 65 6c 65 63 74 20 74 | of save|Select t|
|000053e0| 6f 20 70 6c 61 69 6e 0d | 70 75 74 20 65 6d 70 74 |o plain.|put empt|
|000053f0| 79 20 69 6e 74 6f 20 53 | 61 76 65 53 65 6c 65 63 |y into S|aveSelec|
|00005400| 74 0d 65 6e 64 20 69 66 | 0d 55 70 64 61 74 65 41 |t.end if|.UpdateA|
|00005410| 6e 6e 6f 74 65 4d 65 6e | 75 73 0d 69 66 20 74 68 |nnoteMen|us.if th|
|00005420| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 62 74 6e |e visibl|e of btn|
|00005430| 20 4e 65 77 42 74 6e 4e | 61 6d 65 20 74 68 65 6e | NewBtnN|ame then|
|00005440| 0d 72 65 70 65 61 74 20 | 34 0d 77 61 69 74 20 31 |.repeat |4.wait 1|
|00005450| 30 0d 73 65 74 20 74 68 | 65 20 68 69 6c 69 74 65 |0.set th|e hilite|
|00005460| 20 6f 66 20 62 74 6e 20 | 4e 65 77 42 74 6e 4e 61 | of btn |NewBtnNa|
|00005470| 6d 65 20 74 6f 20 6e 6f | 74 20 74 68 65 20 68 69 |me to no|t the hi|
|00005480| 6c 69 74 65 20 6f 66 20 | 62 74 6e 20 4e 65 77 42 |lite of |btn NewB|
|00005490| 74 6e 4e 61 6d 65 0d 65 | 6e 64 20 72 65 70 65 61 |tnName.e|nd repea|
|000054a0| 74 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 22 54 6f |t.end if|.put "To|
|000054b0| 20 6d 6f 76 65 20 79 6f | 75 72 20 62 75 74 74 6f | move yo|ur butto|
|000054c0| 6e 2c 20 68 6f 6c 64 20 | 64 6f 77 6e 20 74 68 65 |n, hold |down the|
|000054d0| 20 6f 70 74 69 6f 6e 20 | 6b 65 79 20 61 6e 64 20 | option |key and |
|000054e0| 64 72 61 67 2e 22 20 2d | 2d c6 0d 65 6e 64 20 61 |drag." -|-..end a|
|000054f0| 6e 6e 6f 74 65 49 6e 73 | 74 61 6c 6c 0d 0d 66 75 |nnoteIns|tall..fu|
|00005500| 6e 63 74 69 6f 6e 20 43 | 6f 6d 70 75 74 65 4d 65 |nction C|omputeMe|
|00005510| 6d 6f 4c 6f 63 20 54 61 | 72 67 65 74 42 75 74 74 |moLoc Ta|rgetButt|
|00005520| 6f 6e 0d 67 6c 6f 62 61 | 6c 20 53 61 76 65 53 65 |on.globa|l SaveSe|
|00005530| 6c 65 63 74 2c 20 53 61 | 76 65 4c 69 6e 65 2c 20 |lect, Sa|veLine, |
|00005540| 53 61 76 65 4c 6f 63 0d | 69 66 20 53 61 76 65 53 |SaveLoc.|if SaveS|
|00005550| 65 6c 65 63 74 20 69 73 | 20 65 6d 70 74 79 20 74 |elect is| empty t|
|00005560| 68 65 6e 0d 70 75 74 20 | 22 31 30 2c 32 38 22 20 |hen.put |"10,28" |
|00005570| 69 6e 74 6f 20 49 6e 73 | 74 61 6c 6c 4c 6f 63 0d |into Ins|tallLoc.|
|00005580| 65 6c 73 65 0d 70 75 74 | 20 28 77 6f 72 64 20 34 |else.put| (word 4|
|00005590| 20 74 6f 20 36 20 6f 66 | 20 73 61 76 65 4c 69 6e | to 6 of| saveLin|
|000055a0| 65 29 20 69 6e 74 6f 20 | 74 68 69 73 46 69 65 6c |e) into |thisFiel|
|000055b0| 64 4e 61 6d 65 0d 69 66 | 20 74 68 65 20 49 44 20 |dName.if| the ID |
|000055c0| 6f 66 20 74 68 69 73 20 | 62 67 20 69 73 20 33 36 |of this |bg is 36|
|000055d0| 36 34 20 74 68 65 6e 0d | 69 66 20 74 68 65 20 66 |64 then.|if the f|
|000055e0| 69 72 73 74 20 77 6f 72 | 64 20 6f 66 20 74 68 65 |irst wor|d of the|
|000055f0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00005600| 68 69 73 46 69 65 6c 64 | 4e 61 6d 65 20 69 73 20 |hisField|Name is |
|00005610| 22 50 68 6f 6e 65 22 20 | 74 68 65 6e 0d 70 75 74 |"Phone" |then.put|
|00005620| 20 32 39 20 69 6e 74 6f | 20 6c 65 66 74 4f 66 66 | 29 into| leftOff|
|00005630| 73 65 74 0d 70 75 74 20 | 37 20 69 6e 74 6f 20 76 |set.put |7 into v|
|00005640| 65 72 74 4f 66 66 73 65 | 74 0d 65 6c 73 65 0d 70 |ertOffse|t.else.p|
|00005650| 75 74 20 31 30 20 69 6e | 74 6f 20 6c 65 66 74 4f |ut 10 in|to leftO|
|00005660| 66 66 73 65 74 0d 70 75 | 74 20 31 31 20 69 6e 74 |ffset.pu|t 11 int|
|00005670| 6f 20 76 65 72 74 4f 66 | 66 73 65 74 0d 65 6e 64 |o vertOf|fset.end|
|00005680| 20 69 66 0d 65 6c 73 65 | 0d 70 75 74 20 32 34 20 | if.else|.put 24 |
|00005690| 69 6e 74 6f 20 6c 65 66 | 74 4f 66 66 73 65 74 0d |into lef|tOffset.|
|000056a0| 70 75 74 20 32 20 69 6e | 74 6f 20 76 65 72 74 4f |put 2 in|to vertO|
|000056b0| 66 66 73 65 74 0d 65 6e | 64 20 69 66 0d 70 75 74 |ffset.en|d if.put|
|000056c0| 20 28 74 68 65 20 6c 65 | 66 74 20 6f 66 20 74 68 | (the le|ft of th|
|000056d0| 69 73 46 69 65 6c 64 4e | 61 6d 65 29 20 2d 20 6c |isFieldN|ame) - l|
|000056e0| 65 66 74 4f 66 66 73 65 | 74 20 69 6e 74 6f 20 69 |eftOffse|t into i|
|000056f0| 74 65 6d 20 31 20 6f 66 | 20 69 6e 73 74 61 6c 6c |tem 1 of| install|
|00005700| 4c 6f 63 0d 70 75 74 20 | 28 69 74 65 6d 20 32 20 |Loc.put |(item 2 |
|00005710| 6f 66 20 73 61 76 65 4c | 6f 63 29 20 2d 20 28 74 |of saveL|oc) - (t|
|00005720| 68 65 20 74 65 78 74 48 | 65 69 67 68 74 20 6f 66 |he textH|eight of|
|00005730| 20 74 68 69 73 46 69 65 | 6c 64 4e 61 6d 65 20 44 | thisFie|ldName D|
|00005740| 49 56 20 32 29 20 69 6e | 74 6f 20 69 74 65 6d 20 |IV 2) in|to item |
|00005750| 32 20 6f 66 20 69 6e 73 | 74 61 6c 6c 4c 6f 63 0d |2 of ins|tallLoc.|
|00005760| 65 6e 64 20 69 66 0d 69 | 66 20 6e 6f 74 20 43 61 |end if.i|f not Ca|
|00005770| 72 64 48 61 73 53 6f 75 | 6e 64 73 28 29 20 74 68 |rdHasSou|nds() th|
|00005780| 65 6e 20 72 65 74 75 72 | 6e 20 69 6e 73 74 61 6c |en retur|n instal|
|00005790| 6c 4c 6f 63 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |lLoc.put| the num|
|000057a0| 62 65 72 20 6f 66 20 62 | 74 6e 73 20 69 6e 74 6f |ber of b|tns into|
|000057b0| 20 4e 75 6d 42 74 6e 73 | 0d 70 75 74 20 69 6e 73 | NumBtns|.put ins|
|000057c0| 74 61 6c 6c 4c 6f 63 20 | 3d 20 22 31 30 2c 32 38 |tallLoc |= "10,28|
|000057d0| 22 20 69 6e 74 6f 20 57 | 61 73 49 6e 43 6f 72 6e |" into W|asInCorn|
|000057e0| 65 72 0d 70 75 74 20 69 | 6e 73 74 61 6c 6c 4c 6f |er.put i|nstallLo|
|000057f0| 63 20 69 6e 74 6f 20 4f | 72 69 67 69 6e 61 6c 4c |c into O|riginalL|
|00005800| 6f 63 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |oc.put t|rue into|
|00005810| 20 46 6f 75 6e 64 4f 6e | 65 0d 70 75 74 20 65 6d | FoundOn|e.put em|
|00005820| 70 74 79 20 69 6e 74 6f | 20 42 74 6e 49 6e 43 68 |pty into| BtnInCh|
|00005830| 61 69 6e 0d 72 65 70 65 | 61 74 20 75 6e 74 69 6c |ain.repe|at until|
|00005840| 20 6e 6f 74 20 46 6f 75 | 6e 64 4f 6e 65 0d 70 75 | not Fou|ndOne.pu|
|00005850| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 46 6f 75 |t false |into Fou|
|00005860| 6e 64 4f 6e 65 0d 72 65 | 70 65 61 74 20 77 69 74 |ndOne.re|peat wit|
|00005870| 68 20 63 6f 75 6e 74 20 | 3d 20 31 20 74 6f 20 4e |h count |= 1 to N|
|00005880| 75 6d 42 74 6e 73 0d 69 | 66 20 6e 6f 74 20 49 73 |umBtns.i|f not Is|
|00005890| 53 6f 75 6e 64 42 75 74 | 74 6f 6e 28 63 6f 75 6e |SoundBut|ton(coun|
|000058a0| 74 29 20 74 68 65 6e 20 | 6e 65 78 74 20 72 65 70 |t) then |next rep|
|000058b0| 65 61 74 0d 69 66 20 69 | 6e 73 74 61 6c 6c 4c 6f |eat.if i|nstallLo|
|000058c0| 63 20 69 73 20 77 69 74 | 68 69 6e 20 74 68 65 20 |c is wit|hin the |
|000058d0| 72 65 63 74 20 6f 66 20 | 62 74 6e 20 63 6f 75 6e |rect of |btn coun|
|000058e0| 74 20 74 68 65 6e 0d 70 | 75 74 20 74 72 75 65 20 |t then.p|ut true |
|000058f0| 69 6e 74 6f 20 46 6f 75 | 6e 64 4f 6e 65 0d 69 66 |into Fou|ndOne.if|
|00005900| 20 57 61 73 49 6e 43 6f | 72 6e 65 72 20 74 68 65 | WasInCo|rner the|
|00005910| 6e 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c 20 42 |n.repeat| until B|
|00005920| 75 74 74 6f 6e 41 6c 72 | 65 61 64 79 54 68 65 72 |uttonAlr|eadyTher|
|00005930| 65 28 69 6e 73 74 61 6c | 6c 4c 6f 63 29 20 3d 20 |e(instal|lLoc) = |
|00005940| 30 0d 61 64 64 20 39 20 | 74 6f 20 69 74 65 6d 20 |0.add 9 |to item |
|00005950| 31 20 6f 66 20 69 6e 73 | 74 61 6c 6c 4c 6f 63 0d |1 of ins|tallLoc.|
|00005960| 61 64 64 20 39 20 74 6f | 20 69 74 65 6d 20 32 20 |add 9 to| item 2 |
|00005970| 6f 66 20 69 6e 73 74 61 | 6c 6c 4c 6f 63 0d 69 66 |of insta|llLoc.if|
|00005980| 20 69 6e 73 74 61 6c 6c | 4c 6f 63 20 69 73 20 6e | install|Loc is n|
|00005990| 6f 74 20 77 69 74 68 69 | 6e 20 74 68 65 20 72 65 |ot withi|n the re|
|000059a0| 63 74 20 6f 66 20 74 68 | 69 73 20 63 64 20 74 68 |ct of th|is cd th|
|000059b0| 65 6e 20 73 75 62 74 72 | 61 63 74 20 39 20 66 72 |en subtr|act 9 fr|
|000059c0| 6f 6d 20 69 74 65 6d 20 | 32 20 6f 66 20 69 6e 73 |om item |2 of ins|
|000059d0| 74 61 6c 6c 4c 6f 63 0d | 65 6e 64 20 72 65 70 65 |tallLoc.|end repe|
|000059e0| 61 74 0d 65 6c 73 65 0d | 69 66 20 42 74 6e 49 6e |at.else.|if BtnIn|
|000059f0| 43 68 61 69 6e 20 69 73 | 20 65 6d 70 74 79 20 74 |Chain is| empty t|
|00005a00| 68 65 6e 20 70 75 74 20 | 74 68 65 20 73 68 6f 72 |hen put |the shor|
|00005a10| 74 20 6e 61 6d 65 20 6f | 66 20 62 74 6e 20 63 6f |t name o|f btn co|
|00005a20| 75 6e 74 20 69 6e 74 6f | 20 42 74 6e 49 6e 43 68 |unt into| BtnInCh|
|00005a30| 61 69 6e 0d 69 66 20 54 | 61 72 67 65 74 42 75 74 |ain.if T|argetBut|
|00005a40| 74 6f 6e 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ton is n|ot empty|
|00005a50| 20 74 68 65 6e 0d 69 66 | 20 69 6e 73 74 61 6c 6c | then.if| install|
|00005a60| 4c 6f 63 20 3d 20 74 68 | 65 20 6c 6f 63 20 6f 66 |Loc = th|e loc of|
|00005a70| 20 62 74 6e 20 54 61 72 | 67 65 74 42 75 74 74 6f | btn Tar|getButto|
|00005a80| 6e 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 49 6e |n then r|eturn In|
|00005a90| 73 74 61 6c 6c 4c 6f 63 | 0d 65 6e 64 20 69 66 0d |stallLoc|.end if.|
|00005aa0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 42 75 74 |repeat u|ntil But|
|00005ab0| 74 6f 6e 41 6c 72 65 61 | 64 79 54 68 65 72 65 28 |tonAlrea|dyThere(|
|00005ac0| 69 6e 73 74 61 6c 6c 4c | 6f 63 29 20 3d 20 30 0d |installL|oc) = 0.|
|00005ad0| 61 64 64 20 38 20 74 6f | 20 69 74 65 6d 20 32 20 |add 8 to| item 2 |
|00005ae0| 6f 66 20 69 6e 73 74 61 | 6c 6c 4c 6f 63 0d 69 66 |of insta|llLoc.if|
|00005af0| 20 69 74 65 6d 20 32 20 | 6f 66 20 69 6e 73 74 61 | item 2 |of insta|
|00005b00| 6c 6c 4c 6f 63 20 2b 20 | 38 20 3e 20 74 68 65 20 |llLoc + |8 > the |
|00005b10| 68 65 69 67 68 74 20 6f | 66 20 74 68 69 73 20 63 |height o|f this c|
|00005b20| 64 20 74 68 65 6e 0d 73 | 75 62 74 72 61 63 74 20 |d then.s|ubtract |
|00005b30| 38 20 66 72 6f 6d 20 69 | 74 65 6d 20 32 20 6f 66 |8 from i|tem 2 of|
|00005b40| 20 69 6e 73 74 61 6c 6c | 4c 6f 63 0d 61 64 64 20 | install|Loc.add |
|00005b50| 35 20 74 6f 20 69 74 65 | 6d 20 31 20 6f 66 20 69 |5 to ite|m 1 of i|
|00005b60| 6e 73 74 61 6c 6c 4c 6f | 63 0d 65 6e 64 20 69 66 |nstallLo|c.end if|
|00005b70| 0d 69 66 20 54 61 72 67 | 65 74 42 75 74 74 6f 6e |.if Targ|etButton|
|00005b80| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00005b90| 65 6e 0d 69 66 20 69 6e | 73 74 61 6c 6c 4c 6f 63 |en.if in|stallLoc|
|00005ba0| 20 3d 20 74 68 65 20 6c | 6f 63 20 6f 66 20 62 74 | = the l|oc of bt|
|00005bb0| 6e 20 54 61 72 67 65 74 | 42 75 74 74 6f 6e 20 74 |n Target|Button t|
|00005bc0| 68 65 6e 20 72 65 74 75 | 72 6e 20 49 6e 73 74 61 |hen retu|rn Insta|
|00005bd0| 6c 6c 4c 6f 63 0d 65 6e | 64 20 69 66 0d 65 6e 64 |llLoc.en|d if.end|
|00005be0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|00005bf0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00005c00| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 69 66 20 57 |.end rep|eat.if W|
|00005c10| 61 73 49 6e 43 6f 72 6e | 65 72 20 74 68 65 6e 20 |asInCorn|er then |
|00005c20| 72 65 74 75 72 6e 20 69 | 6e 73 74 61 6c 6c 4c 6f |return i|nstallLo|
|00005c30| 63 0d 69 66 20 42 74 6e | 49 6e 43 68 61 69 6e 20 |c.if Btn|InChain |
|00005c40| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005c50| 6e 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |n.set cu|rsor to |
|00005c60| 61 72 72 6f 77 0d 61 6e | 73 77 65 72 20 22 44 6f |arrow.an|swer "Do|
|00005c70| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 72 65 70 | you wan|t to rep|
|00005c80| 6c 61 63 65 20 74 68 65 | 20 6f 6c 64 20 61 75 64 |lace the| old aud|
|00005c90| 69 6f 20 6d 65 6d 6f 20 | 77 69 74 68 20 74 68 65 |io memo |with the|
|00005ca0| 20 6e 65 77 20 6f 6e 65 | 3f 22 20 77 69 74 68 c2 | new one|?" with.|
|00005cb0| 20 2d 2d c6 0d 22 4e 6f | 22 20 6f 72 20 22 59 65 | --.."No|" or "Ye|
|00005cc0| 73 22 20 2d 2d c6 0d 73 | 65 74 20 63 75 72 73 6f |s" --..s|et curso|
|00005cd0| 72 20 74 6f 20 77 61 74 | 63 68 0d 69 66 20 69 74 |r to wat|ch.if it|
|00005ce0| 20 69 73 20 22 4e 6f 22 | 20 74 68 65 6e 20 72 65 | is "No"| then re|
|00005cf0| 74 75 72 6e 20 49 6e 73 | 74 61 6c 6c 4c 6f 63 20 |turn Ins|tallLoc |
|00005d00| 2d 2d c6 0d 65 6c 73 65 | 0d 6c 6f 63 6b 20 73 63 |--..else|.lock sc|
|00005d10| 72 65 65 6e 0d 73 65 6e | 64 20 22 64 65 6c 65 74 |reen.sen|d "delet|
|00005d20| 65 4d 65 20 6e 6f 53 6f | 75 6e 64 22 20 74 6f 20 |eMe noSo|und" to |
|00005d30| 62 74 6e 20 42 74 6e 49 | 6e 43 68 61 69 6e 0d 72 |btn BtnI|nChain.r|
|00005d40| 65 74 75 72 6e 20 4f 72 | 69 67 69 6e 61 6c 4c 6f |eturn Or|iginalLo|
|00005d50| 63 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |c.end if|.end if.|
|00005d60| 72 65 74 75 72 6e 20 49 | 6e 73 74 61 6c 6c 4c 6f |return I|nstallLo|
|00005d70| 63 0d 65 6e 64 20 43 6f | 6d 70 75 74 65 4d 65 6d |c.end Co|mputeMem|
|00005d80| 6f 4c 6f 63 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 42 |oLoc..fu|nction B|
|00005d90| 75 74 74 6f 6e 41 6c 72 | 65 61 64 79 54 68 65 72 |uttonAlr|eadyTher|
|00005da0| 65 20 74 68 65 4c 6f 63 | 0d 69 66 20 6e 6f 74 20 |e theLoc|.if not |
|00005db0| 43 61 72 64 48 61 73 53 | 6f 75 6e 64 73 28 29 20 |CardHasS|ounds() |
|00005dc0| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 30 0d 70 75 |then ret|urn 0.pu|
|00005dd0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00005de0| 62 74 6e 73 20 69 6e 74 | 6f 20 4e 75 6d 42 74 6e |btns int|o NumBtn|
|00005df0| 73 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |s.repeat| with i |
|00005e00| 3d 20 31 20 74 6f 20 4e | 75 6d 42 74 6e 73 0d 69 |= 1 to N|umBtns.i|
|00005e10| 66 20 6e 6f 74 20 49 73 | 53 6f 75 6e 64 42 75 74 |f not Is|SoundBut|
|00005e20| 74 6f 6e 28 69 29 20 74 | 68 65 6e 20 6e 65 78 74 |ton(i) t|hen next|
|00005e30| 20 72 65 70 65 61 74 0d | 69 66 20 74 68 65 4c 6f | repeat.|if theLo|
|00005e40| 63 20 69 73 20 77 69 74 | 68 69 6e 20 74 68 65 20 |c is wit|hin the |
|00005e50| 72 65 63 74 20 6f 66 20 | 62 74 6e 20 69 20 74 68 |rect of |btn i th|
|00005e60| 65 6e 20 72 65 74 75 72 | 6e 20 69 0d 65 6e 64 20 |en retur|n i.end |
|00005e70| 72 65 70 65 61 74 0d 72 | 65 74 75 72 6e 20 30 0d |repeat.r|eturn 0.|
|00005e80| 65 6e 64 20 42 75 74 74 | 6f 6e 41 6c 72 65 61 64 |end Butt|onAlread|
|00005e90| 79 54 68 65 72 65 0d 0d | 6f 6e 20 6e 6f 72 6d 61 |yThere..|on norma|
|00005ea0| 6c 49 6e 73 74 61 6c 6c | 20 66 69 6c 65 4e 61 6d |lInstall| fileNam|
|00005eb0| 65 0d 67 6c 6f 62 61 6c | 20 68 65 6c 70 4d 49 74 |e.global| helpMIt|
|00005ec0| 65 6d 2c 20 70 72 6f 74 | 6f 4e 6f 72 6d 61 6c 42 |em, prot|oNormalB|
|00005ed0| 74 6e 53 63 72 69 70 74 | 2c 20 6c 61 73 74 42 75 |tnScript|, lastBu|
|00005ee0| 74 74 6f 6e 0d 70 75 74 | 20 46 41 4c 53 45 20 69 |tton.put| FALSE i|
|00005ef0| 6e 74 6f 20 6e 6f 4e 65 | 77 42 75 74 74 6f 6e 0d |nto noNe|wButton.|
|00005f00| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 70 |put empt|y into p|
|00005f10| 72 65 76 42 74 6e 0d 6c | 6f 63 6b 20 73 63 72 65 |revBtn.l|ock scre|
|00005f20| 65 6e 0d 70 75 74 20 66 | 69 6c 65 6e 61 6d 65 20 |en.put f|ilename |
|00005f30| 69 6e 74 6f 20 69 74 0d | 69 66 20 63 68 61 72 20 |into it.|if char |
|00005f40| 31 20 6f 66 20 66 69 6c | 65 4e 61 6d 65 20 3d 20 |1 of fil|eName = |
|00005f50| 71 75 6f 74 65 20 74 68 | 65 6e 0d 64 65 6c 65 74 |quote th|en.delet|
|00005f60| 65 20 74 68 65 20 66 69 | 72 73 74 20 63 68 61 72 |e the fi|rst char|
|00005f70| 20 6f 66 20 66 69 6c 65 | 6e 61 6d 65 0d 64 65 6c | of file|name.del|
|00005f80| 65 74 65 20 74 68 65 20 | 6c 61 73 74 20 63 68 61 |ete the |last cha|
|00005f90| 72 20 6f 66 20 66 69 6c | 65 6e 61 6d 65 0d 65 6e |r of fil|ename.en|
|00005fa0| 64 20 69 66 0d 70 75 74 | 20 22 50 6c 61 79 22 20 |d if.put| "Play" |
|00005fb0| 26 26 20 66 69 6c 65 6e | 61 6d 65 20 69 6e 74 6f |&& filen|ame into|
|00005fc0| 20 6e 65 77 4e 61 6d 65 | 20 20 2d 2d c6 0d 72 65 | newName| --..re|
|00005fd0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00005fe0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00005ff0| 20 62 74 6e 73 0d 67 65 | 74 20 74 68 65 20 73 68 | btns.ge|t the sh|
|00006000| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 62 74 6e 20 |ort name| of btn |
|00006010| 69 0d 69 66 20 69 74 20 | 69 73 20 6e 65 77 4e 61 |i.if it |is newNa|
|00006020| 6d 65 20 74 68 65 6e 0d | 70 75 74 20 54 52 55 45 |me then.|put TRUE|
|00006030| 20 69 6e 74 6f 20 6e 6f | 4e 65 77 42 75 74 74 6f | into no|NewButto|
|00006040| 6e 0d 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |n.exit r|epeat.en|
|00006050| 64 20 69 66 0d 69 66 20 | 74 68 65 20 66 69 72 73 |d if.if |the firs|
|00006060| 74 20 77 6f 72 64 20 6f | 66 20 69 74 20 69 73 20 |t word o|f it is |
|00006070| 22 50 6c 61 79 22 20 74 | 68 65 6e 20 2d 2d c6 0d |"Play" t|hen --..|
|00006080| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 70 72 65 76 |put it i|nto prev|
|00006090| 42 74 6e 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |Btn.end |if.end r|
|000060a0| 65 70 65 61 74 0d 69 66 | 20 6e 6f 74 20 6e 6f 4e |epeat.if| not noN|
|000060b0| 65 77 42 75 74 74 6f 6e | 20 74 68 65 6e 0d 67 65 |ewButton| then.ge|
|000060c0| 74 20 74 68 65 20 75 73 | 65 72 6c 65 76 65 6c 0d |t the us|erlevel.|
|000060d0| 73 65 74 20 74 68 65 20 | 75 73 65 72 6c 65 76 65 |set the |userleve|
|000060e0| 6c 20 74 6f 20 35 0d 64 | 6f 4d 65 6e 75 20 22 4e |l to 5.d|oMenu "N|
|000060f0| 65 77 20 42 75 74 74 6f | 6e 22 0d 73 65 74 20 74 |ew Butto|n".set t|
|00006100| 68 65 20 75 73 65 72 6c | 65 76 65 6c 20 74 6f 20 |he userl|evel to |
|00006110| 69 74 0d 2d 2d 20 73 65 | 74 20 61 74 74 72 69 62 |it.-- se|t attrib|
|00006120| 75 74 65 73 20 6f 66 20 | 6e 65 77 20 62 75 74 74 |utes of |new butt|
|00006130| 6f 6e 0d 73 65 74 20 73 | 68 6f 77 4e 61 6d 65 20 |on.set s|howName |
|00006140| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|00006150| 74 6f 6e 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |ton to t|rue.set |
|00006160| 6e 61 6d 65 20 6f 66 20 | 6c 61 73 74 20 63 61 72 |name of |last car|
|00006170| 64 20 62 75 74 74 6f 6e | 20 74 6f 20 6e 65 77 4e |d button| to newN|
|00006180| 61 6d 65 0d 73 65 74 20 | 61 75 74 6f 48 69 6c 69 |ame.set |autoHili|
|00006190| 74 65 20 6f 66 20 6c 61 | 73 74 20 63 61 72 64 20 |te of la|st card |
|000061a0| 62 75 74 74 6f 6e 20 74 | 6f 20 66 61 6c 73 65 0d |button t|o false.|
|000061b0| 67 65 74 20 6c 65 6e 67 | 74 68 28 6e 65 77 4e 61 |get leng|th(newNa|
|000061c0| 6d 65 29 0d 73 65 74 20 | 77 69 64 74 68 20 6f 66 |me).set |width of|
|000061d0| 20 6c 61 73 74 20 63 61 | 72 64 20 62 75 74 74 6f | last ca|rd butto|
|000061e0| 6e 20 74 6f 20 28 69 74 | 20 2a 20 38 29 0d 0d 70 |n to (it| * 8)..p|
|000061f0| 75 74 20 70 72 6f 74 6f | 4e 6f 72 6d 61 6c 42 74 |ut proto|NormalBt|
|00006200| 6e 53 63 72 69 70 74 20 | 69 6e 74 6f 20 62 74 6e |nScript |into btn|
|00006210| 53 63 72 69 70 74 0d 67 | 65 74 20 6e 75 6d 62 65 |Script.g|et numbe|
|00006220| 72 20 6f 66 20 77 6f 72 | 64 73 20 69 6e 20 63 68 |r of wor|ds in ch|
|00006230| 61 72 20 31 20 74 6f 20 | 6f 66 66 73 65 74 28 22 |ar 1 to |offset("|
|00006240| 70 75 74 53 6f 75 6e 64 | 4e 61 6d 65 48 65 72 65 |putSound|NameHere|
|00006250| 22 2c 62 74 6e 53 63 72 | 69 70 74 29 20 6f 66 20 |",btnScr|ipt) of |
|00006260| 62 74 6e 53 63 72 69 70 | 74 0d 70 75 74 20 71 75 |btnScrip|t.put qu|
|00006270| 6f 74 65 20 26 20 66 69 | 6c 65 4e 61 6d 65 20 26 |ote & fi|leName &|
|00006280| 20 71 75 6f 74 65 20 69 | 6e 74 6f 20 77 6f 72 64 | quote i|nto word|
|00006290| 20 69 74 20 6f 66 20 62 | 74 6e 73 63 72 69 70 74 | it of b|tnscript|
|000062a0| 0d 0d 73 65 74 20 74 68 | 65 20 73 63 72 69 70 74 |..set th|e script|
|000062b0| 20 6f 66 20 74 68 65 20 | 6c 61 73 74 20 63 61 72 | of the |last car|
|000062c0| 64 20 62 75 74 74 6f 6e | 20 74 6f 20 62 74 6e 53 |d button| to btnS|
|000062d0| 63 72 69 70 74 0d 2d 2d | 67 65 74 20 74 68 65 20 |cript.--|get the |
|000062e0| 6c 6f 63 20 6f 66 20 74 | 68 65 20 6c 61 73 74 20 |loc of t|he last |
|000062f0| 63 61 72 64 20 62 75 74 | 74 6f 6e 0d 69 66 20 70 |card but|ton.if p|
|00006300| 72 65 76 42 74 6e 20 69 | 73 20 6e 6f 74 20 65 6d |revBtn i|s not em|
|00006310| 70 74 79 20 74 68 65 6e | 0d 67 65 74 20 74 68 65 |pty then|.get the|
|00006320| 20 6c 6f 63 20 6f 66 20 | 63 64 20 62 74 6e 20 70 | loc of |cd btn p|
|00006330| 72 65 76 42 74 6e 0d 61 | 64 64 20 34 20 74 6f 20 |revBtn.a|dd 4 to |
|00006340| 69 74 65 6d 20 31 20 6f | 66 20 69 74 0d 61 64 64 |item 1 o|f it.add|
|00006350| 20 31 36 20 74 6f 20 69 | 74 65 6d 20 32 20 6f 66 | 16 to i|tem 2 of|
|00006360| 20 69 74 0d 69 66 20 69 | 74 20 69 73 20 77 69 74 | it.if i|t is wit|
|00006370| 68 69 6e 20 72 65 63 74 | 20 6f 66 20 74 68 69 73 |hin rect| of this|
|00006380| 20 63 64 20 74 68 65 6e | 20 73 65 74 20 74 68 65 | cd then| set the|
|00006390| 20 6c 6f 63 20 6f 66 20 | 6c 61 73 74 20 63 61 72 | loc of |last car|
|000063a0| 64 20 62 75 74 74 6f 6e | 20 74 6f 20 69 74 0d 65 |d button| to it.e|
|000063b0| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 6c 65 66 74 |lse.set |the left|
|000063c0| 20 6f 66 20 6c 61 73 74 | 20 62 74 6e 20 74 6f 20 | of last| btn to |
|000063d0| 30 0d 73 65 74 20 74 68 | 65 20 74 6f 70 20 6f 66 |0.set th|e top of|
|000063e0| 20 6c 61 73 74 20 62 74 | 6e 20 74 6f 20 30 0d 65 | last bt|n to 0.e|
|000063f0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.